summaryrefslogtreecommitdiff
path: root/drivers/staging/usbip/userspace
diff options
context:
space:
mode:
authorAnthony Foiani <anthony.foiani@gmail.com>2013-08-23 04:06:41 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-23 16:54:27 (GMT)
commit5894af89f22a94f2356474a2e1e14ca6267019d4 (patch)
treeecd62a0e5a16d67582b63c3bcc5d53e803e2e6d8 /drivers/staging/usbip/userspace
parent7182f8f81a8c6425061c144d04477048826315e5 (diff)
downloadlinux-fsl-qoriq-5894af89f22a94f2356474a2e1e14ca6267019d4.tar.xz
staging: usbip: properly handle "-l" / "--log" option
This option is in the long options list, and it's handled in the option processing loop, but the optstring didn't include it. Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/usbip/userspace')
-rw-r--r--drivers/staging/usbip/userspace/src/usbip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/usbip/userspace/src/usbip.c b/drivers/staging/usbip/userspace/src/usbip.c
index 69ac4b5..b4f299e 100644
--- a/drivers/staging/usbip/userspace/src/usbip.c
+++ b/drivers/staging/usbip/userspace/src/usbip.c
@@ -152,7 +152,7 @@ int main(int argc, char *argv[])
usbip_use_stderr = 1;
opterr = 0;
for (;;) {
- opt = getopt_long(argc, argv, "+dt:", opts, NULL);
+ opt = getopt_long(argc, argv, "+dlt:", opts, NULL);
if (opt == -1)
break;