patch-2.3.99-pre6 linux/fs/partitions/acorn.c

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

diff -u --recursive --new-file v2.3.99-pre5/linux/fs/partitions/acorn.c linux/fs/partitions/acorn.c
@@ -485,9 +485,11 @@
 	if (r == 0)
 		r = adfspart_check_POWERTEC(hd, dev, first_sector, first_part_minor);
 #endif
-	if (r < 0)
-		if (warn_no_part) printk(" unable to read boot sectors / partition sectors\n");
-	else if (r)
+	if (r < 0) {
+		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)