summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vsa
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/vax/vsa
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/vax/vsa')
-rw-r--r--sys/arch/vax/vsa/hdc9224.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/vax/vsa/hdc9224.c b/sys/arch/vax/vsa/hdc9224.c
index c45fceaa751..692f059a240 100644
--- a/sys/arch/vax/vsa/hdc9224.c
+++ b/sys/arch/vax/vsa/hdc9224.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hdc9224.c,v 1.13 2006/11/06 20:28:23 miod Exp $ */
+/* $OpenBSD: hdc9224.c,v 1.14 2007/02/15 00:53:26 krw Exp $ */
/* $NetBSD: hdc9224.c,v 1.16 2001/07/26 15:05:09 wiz Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -368,8 +368,9 @@ hdattach(struct device *parent, struct device *self, void *aux)
printf("%s: %luMB, %lu sectors\n",
hd->sc_dev.dv_xname, dl->d_secperunit / (1048576 / DEV_BSIZE),
dl->d_secperunit);
- if (msg)
- printf("%s: %s\n", hd->sc_dev.dv_xname, msg);
+ if (msg) {
+ /*printf("%s: %s\n", hd->sc_dev.dv_xname, msg);*/
+ }
#ifdef HDDEBUG
hdc_printgeom(&hd->sc_xbn);
#endif