linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / input / joystick / gf2k.c
index e4a699f..8a3ad45 100644 (file)
@@ -298,7 +298,7 @@ static int gf2k_connect(struct gameport *gameport, struct gameport_driver *drv)
        gameport_set_poll_handler(gameport, gf2k_poll);
        gameport_set_poll_interval(gameport, 20);
 
-       snprintf(gf2k->phys, sizeof(gf2k->phys), "%s/input0", gameport->phys);
+       sprintf(gf2k->phys, "%s/input0", gameport->phys);
 
        gf2k->length = gf2k_lens[gf2k->id];