Message ID | 8e5515689baf3c3df8c7e014d139e9de9cb31cf9.1607640819.git.me@pmachata.org (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | David Ahern |
Headers | show |
Series | dcb: Support PFC, buffer, maxrate objects | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
diff --git a/dcb/dcb.c b/dcb/dcb.c index dc1e9fe04e22..217dd640d7e5 100644 --- a/dcb/dcb.c +++ b/dcb/dcb.c @@ -349,7 +349,7 @@ int main(int argc, char **argv) return EXIT_FAILURE; } - while ((opt = getopt_long(argc, argv, "b:c::fhjnpvN:V", + while ((opt = getopt_long(argc, argv, "b:fhjpvN:V", long_options, NULL)) >= 0) { switch (opt) {
getopt_long() currently includes "c" and "n" in the short option string. These probably slipped in as a cut'n'paste, and are not actually accepted. Remove them. Signed-off-by: Petr Machata <me@pmachata.org> --- dcb/dcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)