Subject: Sun3 kernel build failure
To: NetBSD current-users mailing list <current-users@netbsd.org>
From: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
List: current-users
Date: 01/27/2000 22:29:14
Sun3 kernels with floppy support won't build at the moment :

/usr/src/sys/arch/sun3/dev/fd.c:686: macro `BUFQ_REMOVE' used with just one arg

Is the following the correct fix?

Thanks,

J

-- 
                    My other computer also runs NetBSD
                          http://www.netbsd.org/
 ---8<---------------------------- Cut here ---------------------------->8---
--- /usr/src/sys/arch/sun3/dev/fd.c	Sat Jan 22 12:34:47 2000
+++ fd.c	Thu Jan 27 22:20:43 2000
@@ -683,7 +683,7 @@
 	}
 	bp->b_resid = fd->sc_bcount;
 	fd->sc_skip = 0;
-	BUFQ_REMOVE(&fd->sc_q);
+	BUFQ_REMOVE(&fd->sc_q, bp);
 
 	biodone(bp);
 	/* turn off motor 5s from now */