summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-12 07:33:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-12 07:33:11 +0000
commitf3e268c494511e19ebb9b1898d1aae8bb8f13d22 (patch)
tree9ab50b963a27be82d78ee7e4d3c9d2d5fe3972a2 /sys/dev
parent5a878d11c8bcbe282a1ecfe32a4e4a21ddebe66d (diff)
fix argh disklabel problem, pr#346
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/fd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c
index 492011434d1..770ed4cb5bd 100644
--- a/sys/dev/isa/fd.c
+++ b/sys/dev/isa/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.35 1997/10/18 10:37:09 deraadt Exp $ */
+/* $OpenBSD: fd.c,v 1.36 1997/11/12 07:33:10 deraadt Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
@@ -995,7 +995,6 @@ fdioctl(dev, cmd, addr, flag, p)
errstring = readdisklabel(dev, fdstrategy, lp, &cdl);
if (errstring) {
/*printf("%s: %s\n", fd->sc_dev.dv_xname, errstring); */
- return 0;
}
*(struct disklabel *)addr = *lp;