summaryrefslogtreecommitdiff
path: root/shell/bbsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/bbsh.c')
-rw-r--r--shell/bbsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/bbsh.c b/shell/bbsh.c
index 4fd0714..09c4bd9 100644
--- a/shell/bbsh.c
+++ b/shell/bbsh.c
@@ -204,7 +204,7 @@ int bbsh_main(int argc, char **argv)
char *command=NULL;
FILE *f;
- getopt32(argc, argv, "c:", &command);
+ getopt32(argv, "c:", &command);
f = argv[optind] ? xfopen(argv[optind],"r") : NULL;
if (command) handle(command);