From: Dan Carpenter Date: Tue, 2 Oct 2012 08:27:14 +0000 (+0300) Subject: target/usb-gadget: strlen() doesn't count the terminator X-Git-Tag: v3.7-rc1~61^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=232ebe34e1a7827c9ddd4f31e95e21ba498ae52c;p=pandora-kernel.git target/usb-gadget: strlen() doesn't count the terminator We need to take the terminator into consideration here or the last character gets silently truncated away later. Signed-off-by: Dan Carpenter Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed