Input: do not overwrite the first part of phys string
authorMárton Németh <nm127@freemail.hu>
Mon, 23 Nov 2009 16:26:38 +0000 (08:26 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Nov 2009 16:50:52 +0000 (08:50 -0800)
commit6236dfaa908d9e9c84a8c4d029f443104ed2c47f
tree82874a5400d31459416b10ed26ce59354284b78d
parent52ce4eaa389eaac01876a4c1b6cacee15005b010
Input: do not overwrite the first part of phys string

Use strlcat() to append a string to the previously created first part.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/hid/usbhid/usbkbd.c
drivers/input/misc/ati_remote.c
drivers/input/misc/powermate.c