Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189734
b: refs/heads/master
c: a506aed
h: refs/heads/master
v: v3
  • Loading branch information
wzt.wzt@gmail.com authored and Jens Axboe committed Apr 2, 2010
1 parent ed5fe6b commit 901107c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2b163dd47024e445410b72d0c5df6d819c14dfd
refs/heads/master: a506aedc51093544ff0f9610af6066d18cb6abbe
2 changes: 1 addition & 1 deletion trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static struct elevator_type *elevator_get(const char *name)

spin_unlock(&elv_list_lock);

sprintf(elv, "%s-iosched", name);
snprintf(elv, sizeof(elv), "%s-iosched", name);

request_module("%s", elv);
spin_lock(&elv_list_lock);
Expand Down

0 comments on commit 901107c

Please sign in to comment.