usb: gadget: android: Fix product name
authorBenoit Goby <benoit@android.com>
Tue, 29 May 2012 20:57:27 +0000 (13:57 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:48 +0000 (13:40 -0700)
commitc8479b8fffbab3130d96dcb2363691bf0c8cc5c1
tree811810834976cc4ae7c5ba9bc8894a8cf8570a56
parent042065151c86d44c858115653d190bbb58571187
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