aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/elevator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/elevator.c b/block/elevator.c
index 1f5bfe696026..ed6f8f32d27e 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -150,7 +150,7 @@ static struct elevator_type *elevator_get(const char *name)
150 else 150 else
151 sprintf(elv, "%s-iosched", name); 151 sprintf(elv, "%s-iosched", name);
152 152
153 request_module(elv); 153 request_module("%s", elv);
154 spin_lock(&elv_list_lock); 154 spin_lock(&elv_list_lock);
155 e = elevator_find(name); 155 e = elevator_find(name);
156 } 156 }