summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-08 02:00:22 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-08 02:00:22 +0200
commit82771ba1f9d1099b86e0bda64a0fabfd0c9d2d22 (patch)
tree4a7a56e721cd29fd8c6ffbb3aca7c5545733825e /main.c
parent113166332c2144816fd277c529033c6f06e104cf (diff)
main: fix parsing of systemd.default= kernel command line argument
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index ea001b18b0..18af93418d 100644
--- a/main.c
+++ b/main.c
@@ -70,7 +70,7 @@ static int parse_proc_cmdline_word(const char *word) {
};
if (startswith(word, "systemd.default="))
- return set_default_unit(word + 15);
+ return set_default_unit(word + 16);
else if (startswith(word, "systemd.log_target=")) {