summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-10-02 10:27:14 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2012-10-02 23:16:21 +0200
commit232ebe34e1a7827c9ddd4f31e95e21ba498ae52c (patch)
treeb2c0246166d9dbff998ae0da442e5049f799351b /drivers/target
parenttarget/usb-gadget: remove duplicate initialization (diff)
downloadlinux-232ebe34e1a7827c9ddd4f31e95e21ba498ae52c.tar.xz
linux-232ebe34e1a7827c9ddd4f31e95e21ba498ae52c.zip
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 <dan.carpenter@oracle.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions