diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-02-15 00:53:27 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-02-15 00:53:27 +0000 |
commit | 95282b6858723d99be5ee46ba619aaaaf5c3aadd (patch) | |
tree | 1f216ad3bfeb5ecbce45f9779c3d3c4fc87ba8e1 /sys/arch/sparc64 | |
parent | 36dca6184bb3cf55c9ec2fa4270d3a9f57bc7ecc (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/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/fd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/fd.c b/sys/arch/sparc64/dev/fd.c index 2aaa9286441..2d722fbe8c8 100644 --- a/sys/arch/sparc64/dev/fd.c +++ b/sys/arch/sparc64/dev/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.8 2006/11/29 12:24:17 miod Exp $ */ +/* $OpenBSD: fd.c,v 1.9 2007/02/15 00:53:26 krw Exp $ */ /* $NetBSD: fd.c,v 1.112 2003/08/07 16:29:35 agc Exp $ */ /*- @@ -2035,7 +2035,7 @@ fdgetdisklabel(dev) */ errstring = readdisklabel(dev, fdstrategy, lp, clp, 0); if (errstring) { - printf("%s: %s\n", fd->sc_dv.dv_xname, errstring); + /*printf("%s: %s\n", fd->sc_dv.dv_xname, errstring);*/ } } |