mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 17:03:47 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7182f8f81a
commit
5894af89f2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user