summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-05-13 01:48:56 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-05-13 01:48:56 +0000
commite71bd5e5b27af827fec91c9a5fcf9d877570b49c (patch)
tree5b7baf4037ccbb28a9885ef9148f2e20446298dd /sys/arch
parent86a588503e5786467071c8748070371548b0a08e (diff)
kill a stupid warning
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/stand/ofwboot/ofdev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/stand/ofwboot/ofdev.c b/sys/arch/sparc64/stand/ofwboot/ofdev.c
index 3edf4c6cbef..fc1ded254fb 100644
--- a/sys/arch/sparc64/stand/ofwboot/ofdev.c
+++ b/sys/arch/sparc64/stand/ofwboot/ofdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofdev.c,v 1.5 2003/04/06 18:54:20 ho Exp $ */
+/* $OpenBSD: ofdev.c,v 1.6 2003/05/13 01:48:55 jason Exp $ */
/* $NetBSD: ofdev.c,v 1.1 2000/08/20 14:58:41 mrg Exp $ */
/*
@@ -465,7 +465,9 @@ devopen(of, name, file)
LABELSECTOR, DEV_BSIZE, buf, &read) != 0
|| read != DEV_BSIZE
|| (errmsg = getdisklabel(buf, &label))) {
+#ifdef NOTDEF_DEBUG
if (errmsg) printf("devopen: getdisklabel says %s\n", errmsg);
+#endif
/* Else try MBR partitions */
errmsg = search_label(&ofdev, 0, buf, &label, 0);
if (errmsg) {