patch-2.3.46 linux/fs/partitions/msdos.c
Next file: linux/fs/partitions/osf.c
Previous file: linux/fs/partitions/check.h
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Wed Feb 16 15:42:06 2000
 -  Orig file: 
v2.3.45/linux/fs/partitions/msdos.c
 -  Orig date: 
Fri Jan 21 18:19:17 2000
 
diff -u --recursive --new-file v2.3.45/linux/fs/partitions/msdos.c linux/fs/partitions/msdos.c
@@ -353,7 +353,7 @@
 read_mbr:
 #endif
 	if (!(bh = bread(dev,0,get_ptable_blocksize(dev)))) {
-		printk(" unable to read partition table\n");
+		if (warn_no_part) printk(" unable to read partition table\n");
 		return -1;
 	}
 	data = bh->b_data;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)