patch-2.3.41 linux/fs/partitions/sun.c

Next file: linux/fs/select.c
Previous file: linux/fs/partitions/sgi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/fs/partitions/sun.c linux/fs/partitions/sun.c
@@ -48,15 +48,15 @@
 	unsigned long spc;
 
 	if(!(bh = bread(dev, 0, get_ptable_blocksize(dev)))) {
-		printk("Dev %s: unable to read partition table\n",
+		printk(KERN_WARNING "Dev %s: unable to read partition table\n",
 		       kdevname(dev));
 		return -1;
 	}
 	label = (struct sun_disklabel *) bh->b_data;
 	p = label->partitions;
 	if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) {
-		printk("Dev %s Sun disklabel: bad magic %04x\n",
-		       kdevname(dev), be16_to_cpu(label->magic));
+/*		printk(KERN_INFO "Dev %s Sun disklabel: bad magic %04x\n",
+		       kdevname(dev), be16_to_cpu(label->magic)); */
 		brelse(bh);
 		return 0;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)