summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/xd.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-02-15 00:53:27 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-02-15 00:53:27 +0000
commit95282b6858723d99be5ee46ba619aaaaf5c3aadd (patch)
tree1f216ad3bfeb5ecbce45f9779c3d3c4fc87ba8e1 /sys/arch/sparc/dev/xd.c
parent36dca6184bb3cf55c9ec2fa4270d3a9f57bc7ecc (diff)
Don't print the error strings returned by readdisklabel(). If you
need the debug info uncomment the printf's you need. Crude but effective way to suppress 'no disklabel' errors that pop up at the most innconvenient times to frighten users. More elegant method, DPRINTF-like constructs or something, later. "Yay!" marco@ ok deraadt@
Diffstat (limited to 'sys/arch/sparc/dev/xd.c')
-rw-r--r--sys/arch/sparc/dev/xd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/xd.c b/sys/arch/sparc/dev/xd.c
index 690fd0af3e4..1aa62b5e11e 100644
--- a/sys/arch/sparc/dev/xd.c
+++ b/sys/arch/sparc/dev/xd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xd.c,v 1.33 2006/12/03 16:40:43 miod Exp $ */
+/* $OpenBSD: xd.c,v 1.34 2007/02/15 00:53:26 krw Exp $ */
/* $NetBSD: xd.c,v 1.37 1997/07/29 09:58:16 fair Exp $ */
/*
@@ -309,7 +309,7 @@ xdgetdisklabel(xd, b)
xddummystrat,
xd->sc_dk.dk_label, xd->sc_dk.dk_cpulabel, 0);
if (err) {
- printf("%s: %s\n", xd->sc_dev.dv_xname, err);
+ /*printf("%s: %s\n", xd->sc_dev.dv_xname, err);*/
return(XD_ERR_FAIL);
}