patch-2.3.46 linux/fs/partitions/acorn.c

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

diff -u --recursive --new-file v2.3.45/linux/fs/partitions/acorn.c linux/fs/partitions/acorn.c
@@ -466,7 +466,7 @@
 		r = adfspart_check_POWERTEC(hd, dev, first_sector, first_part_minor);
 #endif
 	if (r < 0)
-		printk(" unable to read boot sectors / partition sectors\n");
+		if (warn_no_part) printk(" unable to read boot sectors / partition sectors\n");
 	else if (r)
 		printk("\n");
 	return r;

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