linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / input / touchscreen / mtouch.c
index 8647a90..1d0d37e 100644 (file)
@@ -143,7 +143,7 @@ static int mtouch_connect(struct serio *serio, struct serio_driver *drv)
 
        mtouch->serio = serio;
        mtouch->dev = input_dev;
-       snprintf(mtouch->phys, sizeof(mtouch->phys), "%s/input0", serio->phys);
+       sprintf(mtouch->phys, "%s/input0", serio->phys);
 
        input_dev->private = mtouch;
        input_dev->name = "MicroTouch Serial TouchScreen";