summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inittab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inittab.c b/inittab.c
index 677ec47..c8540b1 100644
--- a/inittab.c
+++ b/inittab.c
@@ -279,7 +279,7 @@ void procd_inittab(void)
};
tok = strtok(tags[TAG_PROCESS], " ");
- for (i = 0; i < (MAX_ARGS - i - 1) && tok; i++) {
+ for (i = 0; i < (MAX_ARGS - 1) && tok; i++) {
a->argv[i] = tok;
tok = strtok(NULL, " ");
}