summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-16 02:56:30 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-16 02:56:30 +0100
commit6ef1b05339248b07270ac3d315458bc6c79a770d (patch)
tree9e9a0aa213e82d5f49f0127a8c036f75419a2363 /src/main.c
parentdfa7f7e139e465c7685fd530d61a52c41184bcde (diff)
main: parse the whole arv[] as kernel command line
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 0c805c98a9..5b75ecca8e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -848,7 +848,7 @@ static int parse_argv(int argc, char *argv[]) {
* relevant for us, hence we rely on argv[]
* instead. */
- for (a = argv + optind; a < argv + argc; a++)
+ for (a = argv; a < argv + argc; a++)
if ((r = parse_proc_cmdline_word(*a)) < 0)
return r;
}