linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / input / joystick / magellan.c
index 168b106..ca3cc23 100644 (file)
@@ -162,7 +162,7 @@ static int magellan_connect(struct serio *serio, struct serio_driver *drv)
                goto fail;
 
        magellan->dev = input_dev;
-       snprintf(magellan->phys, sizeof(magellan->phys), "%s/input0", serio->phys);
+       sprintf(magellan->phys, "%s/input0", serio->phys);
 
        input_dev->name = "LogiCad3D Magellan / SpaceMouse";
        input_dev->phys = magellan->phys;