]> err.no Git - systemd/commitdiff
main: fix parsing of systemd.default= kernel command line argument
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Apr 2010 00:00:22 +0000 (02:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Apr 2010 00:00:22 +0000 (02:00 +0200)
main.c

diff --git a/main.c b/main.c
index ea001b18b0266fa92d1c9c38728d17e56cbe3785..18af93418dd38f0dcd263aaa4f4014ef270f9ce6 100644 (file)
--- 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=")) {