summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 1b887aea3f..3f3b01852b 100644
--- a/src/modules-load/modules-load.c
+++ b/src/modules-load/modules-load.c
@@ -90,13 +90,13 @@ static int parse_proc_cmdline(void) {
goto finish;
}
- if (startswith(word, "driver=")) {
+ if (startswith(word, "modules-load=")) {
r = add_modules(word + 7);
if (r < 0)
goto finish;
- } else if (startswith(word, "rd.driver=")) {
+ } else if (startswith(word, "rd.modules-load=")) {
if (in_initrd()) {
r = add_modules(word + 10);