diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-08-08 22:39:11 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-08-08 22:39:11 +0000 |
commit | 7b7d3bf5446882748838cffa95723ee58500c695 (patch) | |
tree | f33ee6a0c9337ccc7c0a9baa927fe114f3c0835e /sys | |
parent | aa0fd02bc274ee58bfa0fb19a61badd9056a1684 (diff) |
compile when fd is not listed in config file; andrew@creep.net
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/isa/fdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/fdc.c b/sys/dev/isa/fdc.c index cc6aac6a5a6..141eb4efe0a 100644 --- a/sys/dev/isa/fdc.c +++ b/sys/dev/isa/fdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdc.c,v 1.9 1996/11/30 09:34:42 downsj Exp $ */ +/* $OpenBSD: fdc.c,v 1.10 1998/08/08 22:39:10 millert Exp $ */ /* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */ /*- @@ -371,14 +371,14 @@ int fdcintr(arg) void *arg; { - struct fdc_softc *fdc = arg; - #if NFD > 0 + struct fdc_softc *fdc = arg; extern int fdintr __P((struct fdc_softc *)); /* Will switch on device type, shortly. */ return (fdintr(fdc)); #else printf("fdcintr: got interrupt, but no devices!\n"); + return (1); #endif } |