Input: usbtouchscreen - correctly set 'phys'
[sfrench/cifs-2.6.git] / drivers / input / touchscreen / usbtouchscreen.c
index b407028ffc59dcc514fa02d8c66f2aab9065a046..741f6c6f1e506f621e55ec8a580db0154db416cc 100644 (file)
@@ -767,7 +767,7 @@ static int usbtouch_probe(struct usb_interface *intf,
                         le16_to_cpu(udev->descriptor.idProduct));
 
        usb_make_path(udev, usbtouch->phys, sizeof(usbtouch->phys));
-       strlcpy(usbtouch->phys, "/input0", sizeof(usbtouch->phys));
+       strlcat(usbtouch->phys, "/input0", sizeof(usbtouch->phys));
 
        input_dev->name = usbtouch->name;
        input_dev->phys = usbtouch->phys;