summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/sbic.c
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-29 13:56:15 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-29 13:56:15 +0000
commitf92abc16c1ff335882c34e18a23d0daf2b5b03f8 (patch)
treecd1db4dcbae774beb7918b7ae5792f5ec2484c46 /sys/arch/mvme68k/dev/sbic.c
parent8f2bd2067fd2a565352afda9d61956f0e4f4d5a8 (diff)
TAILQ_LAST takes two arguments.
Diffstat (limited to 'sys/arch/mvme68k/dev/sbic.c')
-rw-r--r--sys/arch/mvme68k/dev/sbic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/sbic.c b/sys/arch/mvme68k/dev/sbic.c
index 1d96a9f776e..5eefab96da7 100644
--- a/sys/arch/mvme68k/dev/sbic.c
+++ b/sys/arch/mvme68k/dev/sbic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbic.c,v 1.18 2007/05/28 22:17:21 pyr Exp $ */
+/* $OpenBSD: sbic.c,v 1.19 2007/05/29 13:56:14 pyr Exp $ */
/* $NetBSD: sbic.c,v 1.2 1996/04/23 16:32:54 chuck Exp $ */
/*
@@ -644,7 +644,7 @@ sbic_scsidone(acb, stat)
dosched = 1; /* start next command */
} else
- if (TAILQ_LAST(&dev->ready_list) == TAILQ_NEXT(acb, chain)) {
+ if (TAILQ_LAST(&dev->ready_list, acb_list) == TAILQ_NEXT(acb, chain)) {
TAILQ_REMOVE(&dev->ready_list, acb, chain);