Commit 5894af89 authored by Anthony Foiani's avatar Anthony Foiani Committed by Greg Kroah-Hartman

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: default avatarAnthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7182f8f8
...@@ -152,7 +152,7 @@ int main(int argc, char *argv[]) ...@@ -152,7 +152,7 @@ int main(int argc, char *argv[])
usbip_use_stderr = 1; usbip_use_stderr = 1;
opterr = 0; opterr = 0;
for (;;) { for (;;) {
opt = getopt_long(argc, argv, "+dt:", opts, NULL); opt = getopt_long(argc, argv, "+dlt:", opts, NULL);
if (opt == -1) if (opt == -1)
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment