diff options
author | Hunter Adrian <adrian.hunter@nokia.com> | 2009-03-18 07:29:39 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-03-20 13:13:21 -0400 |
commit | fcabb3479e2b15abfd2d2ef5363295f16e98b2d7 (patch) | |
tree | 52b8a3e6cd23af90ffaaed110f05cfd61741b764 | |
parent | f10770f5e56b4297701fd7c3e551b206f98d7ac2 (diff) |
UBIFS: fix compiler warnings
fs/ubifs/super.c: In function ‘ubifs_show_options’:
fs/ubifs/super.c:425: warning: format not a string literal and no format arguments
fs/ubifs/super.c: In function ‘mount_ubifs’:
fs/ubifs/super.c:1204: warning: format not a string literal and no format arguments
fs/ubifs/super.c: In function ‘ubifs_remount_rw’:
fs/ubifs/super.c:1557: warning: format not a string literal and no format arguments
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r-- | fs/ubifs/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 7bdd248ec770..372c7fb66531 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -421,8 +421,8 @@ static int ubifs_show_options(struct seq_file *s, struct vfsmount *mnt) | |||
421 | seq_printf(s, ",no_chk_data_crc"); | 421 | seq_printf(s, ",no_chk_data_crc"); |
422 | 422 | ||
423 | if (c->mount_opts.override_compr) { | 423 | if (c->mount_opts.override_compr) { |
424 | seq_printf(s, ",compr="); | 424 | seq_printf(s, ",compr=%s", |
425 | seq_printf(s, ubifs_compr_name(c->mount_opts.compr_type)); | 425 | ubifs_compr_name(c->mount_opts.compr_type)); |
426 | } | 426 | } |
427 | 427 | ||
428 | return 0; | 428 | return 0; |
@@ -1204,7 +1204,7 @@ static int mount_ubifs(struct ubifs_info *c) | |||
1204 | goto out_cbuf; | 1204 | goto out_cbuf; |
1205 | 1205 | ||
1206 | /* Create background thread */ | 1206 | /* Create background thread */ |
1207 | c->bgt = kthread_create(ubifs_bg_thread, c, c->bgt_name); | 1207 | c->bgt = kthread_create(ubifs_bg_thread, c, "%s", c->bgt_name); |
1208 | if (IS_ERR(c->bgt)) { | 1208 | if (IS_ERR(c->bgt)) { |
1209 | err = PTR_ERR(c->bgt); | 1209 | err = PTR_ERR(c->bgt); |
1210 | c->bgt = NULL; | 1210 | c->bgt = NULL; |
@@ -1561,7 +1561,7 @@ static int ubifs_remount_rw(struct ubifs_info *c) | |||
1561 | ubifs_create_buds_lists(c); | 1561 | ubifs_create_buds_lists(c); |
1562 | 1562 | ||
1563 | /* Create background thread */ | 1563 | /* Create background thread */ |
1564 | c->bgt = kthread_create(ubifs_bg_thread, c, c->bgt_name); | 1564 | c->bgt = kthread_create(ubifs_bg_thread, c, "%s", c->bgt_name); |
1565 | if (IS_ERR(c->bgt)) { | 1565 | if (IS_ERR(c->bgt)) { |
1566 | err = PTR_ERR(c->bgt); | 1566 | err = PTR_ERR(c->bgt); |
1567 | c->bgt = NULL; | 1567 | c->bgt = NULL; |