patch-2.1.86 linux/fs/coda/super.c

Next file: linux/fs/coda/symlink.c
Previous file: linux/fs/coda/pioctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/fs/coda/super.c linux/fs/coda/super.c
@@ -131,8 +131,8 @@
 	    goto error;
 	} 
 
-	printk("coda_read_super: rootinode is %ld dev %d\n", 
-	       root->i_ino, root->i_dev);
+	printk("coda_read_super: rootinode is %ld dev %s\n", 
+	       root->i_ino, kdevname(root->i_dev));
 	sbi->sbi_root = root;
 	sb->s_root = d_alloc_root(root, NULL);
 	unlock_super(sb);
@@ -351,7 +351,7 @@
 
         if (MINOR(psdev->i_rdev) >= MAX_CODADEVS) { 
 		printk("minor %d not an allocated Coda PSDEV\n", 
-		       psdev->i_rdev);
+		       MINOR(psdev->i_rdev));
 		return 1;
         }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov