summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-12-05 17:40:01 +0000
committerderaadt <deraadt@openbsd.org>1996-12-05 17:40:01 +0000
commita83f5666ab9e0855bfb99852fd11a3eabd77690f (patch)
treed1f410e57ee9a3e5f4918592edde207d36ae33ee
parentwhoops, correct d_nsectors (diff)
downloadwireguard-openbsd-a83f5666ab9e0855bfb99852fd11a3eabd77690f.tar.xz
wireguard-openbsd-a83f5666ab9e0855bfb99852fd11a3eabd77690f.zip
let us get this right finally...
-rw-r--r--sys/dev/isa/fd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c
index 8f90d35b399..cd59a043758 100644
--- a/sys/dev/isa/fd.c
+++ b/sys/dev/isa/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.32 1996/12/05 17:22:40 deraadt Exp $ */
+/* $OpenBSD: fd.c,v 1.33 1996/12/05 17:40:01 deraadt Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
@@ -992,10 +992,8 @@ fdioctl(dev, cmd, addr, flag, p)
lp->d_checksum = dkcksum(lp);
errstring = readdisklabel(dev, fdstrategy, lp, &cdl);
- if (errstring) {
+ if (errstring)
printf("%s: %s\n", fd->sc_dev.dv_xname, errstring);
- return;
- }
*(struct disklabel *)addr = *lp;
return 0;