From 7b7d3bf5446882748838cffa95723ee58500c695 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 8 Aug 1998 22:39:11 +0000 Subject: compile when fd is not listed in config file; andrew@creep.net --- sys/dev/isa/fdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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 } -- cgit v1.2.3