OSDN Git Service

usb: gadget: android: Fix product name
authorBenoit Goby <benoit@android.com>
Tue, 29 May 2012 20:57:27 +0000 (13:57 -0700)
committerBenoit Goby <benoit@android.com>
Tue, 29 May 2012 22:21:48 +0000 (15:21 -0700)
commit5df2eb9d22626c85b4fc71b0b6d55c5aa47e71d5
treecd6ddfc87f5f3ba9ff73248acfe9c480371612e4
parent3c6010d0e484a5369e749d7506238ceac1434c67
usb: gadget: android: Fix product name

Product names may contain spaces and scanf %s only matches the 1st word.
Use strlcpy instead.

Change-Id: Ie8703fea9775f7fc17fe615a42597ca3816d36b0
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/gadget/android.c