linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / input / touchscreen / gunze.c
index b769b21..466da19 100644 (file)
@@ -129,7 +129,7 @@ static int gunze_connect(struct serio *serio, struct serio_driver *drv)
 
        gunze->serio = serio;
        gunze->dev = input_dev;
-       snprintf(gunze->phys, sizeof(serio->phys), "%s/input0", serio->phys);
+       sprintf(gunze->phys, "%s/input0", serio->phys);
 
        input_dev->private = gunze;
        input_dev->name = "Gunze AHL-51S TouchScreen";