summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-07-25 01:45:16 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-07-25 01:46:11 +0200
commitb2fc39a6838f08e6050b681e0c93f95bc6176786 (patch)
treeb7e8ef2788c01ae3bee828a56081341b45091511 /src
parentd4447f4d955d5bfbdec6feec8e332b8c126f474a (diff)
modules-load: fix kernel cmdline parsing
Diffstat (limited to 'src')
-rw-r--r--src/modules-load/modules-load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c
index 3f3b01852b..d6bc16d340 100644
--- a/src/modules-load/modules-load.c
+++ b/src/modules-load/modules-load.c
@@ -92,14 +92,14 @@ static int parse_proc_cmdline(void) {
if (startswith(word, "modules-load=")) {
- r = add_modules(word + 7);
+ r = add_modules(word + 13);
if (r < 0)
goto finish;
} else if (startswith(word, "rd.modules-load=")) {
if (in_initrd()) {
- r = add_modules(word + 10);
+ r = add_modules(word + 16);
if (r < 0)
goto finish;
}