diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-16 22:39:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-16 22:39:18 -0700 |
| commit | d847507434bbeda3e22b5f2c1cd5c486905ec1ab (patch) | |
| tree | 85f325877503394edba7a77fd9cd40cc34d534c9 /fs/filesystems.c | |
| parent | 3584199aaf995eea33b57fb1e933711c0fffe5cf (diff) | |
Make request_module() take a printf-like vararg argument instead of a string.
This is what a lot of the callers really wanted.
Diffstat (limited to 'fs/filesystems.c')
| -rw-r--r-- | fs/filesystems.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/filesystems.c b/fs/filesystems.c index 9593c8206a53..cf58df08fcb3 100644 --- a/fs/filesystems.c +++ b/fs/filesystems.c @@ -279,7 +279,7 @@ struct file_system_type *get_fs_type(const char *name) if (fs && !try_module_get(fs->owner)) fs = NULL; read_unlock(&file_systems_lock); - if (!fs && (request_module(name) == 0)) { + if (!fs && (request_module("%s", name) == 0)) { read_lock(&file_systems_lock); fs = *(find_filesystem(name)); if (fs && !try_module_get(fs->owner)) |
