aboutsummaryrefslogtreecommitdiff
path: root/shell/shell_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/shell_common.c')
-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 e9effd2d0..f02ed81ea 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) {