summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/shell_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c
index e9effd2..f02ed81 100644
--- a/shell/shell_common.c
+++ b/shell/shell_common.c
@@ -368,9 +368,9 @@ shell_builtin_ulimit(char **argv)
#endif
/* optarg = NULL; opterr = 0; optopt = 0; - do we need this?? */
- argc = 1;
- while (argv[argc])
- argc++;
+ argc = 1;
+ while (argv[argc])
+ argc++;
opts = 0;
while (1) {