diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-05-03 09:49:57 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-05-03 09:49:57 -0700 |
commit | c7ed0996ef58b497d3d30be802ab5ae6c37099b5 (patch) | |
tree | ec15235e9f49bd7ab27e9cc04662a2c25fee1183 | |
parent | 8ef7b77562b636efcbd8b759eb324d6c069200f2 (diff) | |
download | android_external_brctl-c7ed0996ef58b497d3d30be802ab5ae6c37099b5.tar.gz android_external_brctl-c7ed0996ef58b497d3d30be802ab5ae6c37099b5.tar.bz2 android_external_brctl-c7ed0996ef58b497d3d30be802ab5ae6c37099b5.zip |
Fix error message for incorrect command
Debian bug 406907
Error message was refering to incorrect command argument.
-rw-r--r-- | brctl/brctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/brctl/brctl.c b/brctl/brctl.c index 454b8dd..46ca352 100644 --- a/brctl/brctl.c +++ b/brctl/brctl.c @@ -69,7 +69,7 @@ int main(int argc, char *const* argv) argc -= optind; argv += optind; if ((cmd = command_lookup(*argv)) == NULL) { - fprintf(stderr, "never heard of command [%s]\n", argv[1]); + fprintf(stderr, "never heard of command [%s]\n", *argv); goto help; } |