summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-28 22:17:22 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-28 22:17:22 +0000
commita13a7e762ef3dc8ab0824ee1ffac2c9aac6ef5ec (patch)
tree05e0320ae1cb708df822ccf57fee458dacf84036 /sys/arch/sparc64/dev
parenta66c971a33649b54c477de18433901a9fa704860 (diff)
avoid bypassing sys/queue.h in many places in the kernel.
many assumptions were made about the way the various list types are implemented. lots of suggestions and help from otto and miod. ok otto@
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/fd.c b/sys/arch/sparc64/dev/fd.c
index f57073d9238..e2c4413ec1e 100644
--- a/sys/arch/sparc64/dev/fd.c
+++ b/sys/arch/sparc64/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.10 2007/04/27 22:20:01 krw Exp $ */
+/* $OpenBSD: fd.c,v 1.11 2007/05/28 22:17:21 pyr Exp $ */
/* $NetBSD: fd.c,v 1.112 2003/08/07 16:29:35 agc Exp $ */
/*-
@@ -1078,7 +1078,7 @@ fdcstatus(fdc, s)
struct fdc_softc *fdc;
char *s;
{
- struct fd_softc *fd = fdc->sc_drives.tqh_first;
+ struct fd_softc *fd = TAILQ_FIRST(&fdc->sc_drives);
int n;
/* Just print last status */