aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/prints.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/reiserfs/prints.c')
-rw-r--r--fs/reiserfs/prints.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/reiserfs/prints.c b/fs/reiserfs/prints.c
index c0b1112ab7e3..54944d5a4a6e 100644
--- a/fs/reiserfs/prints.c
+++ b/fs/reiserfs/prints.c
@@ -358,12 +358,13 @@ void __reiserfs_panic(struct super_block *sb, const char *id,
358 dump_stack(); 358 dump_stack();
359#endif 359#endif
360 if (sb) 360 if (sb)
361 panic(KERN_WARNING "REISERFS panic (device %s): %s%s%s: %s\n", 361 printk(KERN_WARNING "REISERFS panic (device %s): %s%s%s: %s\n",
362 sb->s_id, id ? id : "", id ? " " : "", 362 sb->s_id, id ? id : "", id ? " " : "",
363 function, error_buf); 363 function, error_buf);
364 else 364 else
365 panic(KERN_WARNING "REISERFS panic: %s%s%s: %s\n", 365 printk(KERN_WARNING "REISERFS panic: %s%s%s: %s\n",
366 id ? id : "", id ? " " : "", function, error_buf); 366 id ? id : "", id ? " " : "", function, error_buf);
367 BUG();
367} 368}
368 369
369void __reiserfs_error(struct super_block *sb, const char *id, 370void __reiserfs_error(struct super_block *sb, const char *id,