aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--brctl/brctl.c2
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;
}