patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / fs / reiserfs / procfs.c
index d7c20a7..b9f5be9 100644 (file)
@@ -548,8 +548,8 @@ int reiserfs_proc_info_init( struct super_block *sb )
                add_file(sb, "journal", show_journal);
                return 0;
        }
-       reiserfs_warning( "reiserfs: cannot create /proc/%s/%s\n",
-                         proc_info_root_name, reiserfs_bdevname (sb) );
+       reiserfs_warning(sb, "reiserfs: cannot create /proc/%s/%s",
+                        proc_info_root_name, reiserfs_bdevname (sb) );
        return 1;
 }
 
@@ -595,7 +595,8 @@ int reiserfs_proc_info_global_init( void )
                if( proc_info_root ) {
                        proc_info_root -> owner = THIS_MODULE;
                } else {
-                       reiserfs_warning( "reiserfs: cannot create /proc/%s\n",
+                       reiserfs_warning (NULL,
+                                         "reiserfs: cannot create /proc/%s",
                                          proc_info_root_name );
                        return 1;
                }