chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4447f4
)
modules-load: fix kernel cmdline parsing
author
Michal Schmidt
<mschmidt@redhat.com>
Tue, 24 Jul 2012 23:45:16 +0000
(
01:45
+0200)
committer
Michal Schmidt
<mschmidt@redhat.com>
Tue, 24 Jul 2012 23:46:11 +0000
(
01:46
+0200)
src/modules-load/modules-load.c
patch
|
blob
|
history
diff --git
a/src/modules-load/modules-load.c
b/src/modules-load/modules-load.c
index 3f3b01852b53f47f27ef555ee30626c99f0e3df4..d6bc16d34086b140b5ea7c98d68b439bd188fd3d 100644
(file)
--- 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 + 1
0
);
+ r = add_modules(word + 1
6
);
if (r < 0)
goto finish;
}