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: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
Showing
想要评论请 注册 或 登录