From c8f71496f77f788fcbe820a092f3e4ad6a636eb4 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 4 Feb 2001 10:34:45 +0000 Subject: [PATCH] Use macro API to --- sys/i386/isa/ccbque.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/isa/ccbque.h b/sys/i386/isa/ccbque.h index eabcc378ab5a..b86a84b393ab 100644 --- a/sys/i386/isa/ccbque.h +++ b/sys/i386/isa/ccbque.h @@ -78,7 +78,7 @@ DEV##_get_ccb() \ if (CCBTYPE##que.count < CCBTYPE##que.maxccb) \ { \ CCBTYPE##que.count ++; \ - cb = CCBTYPE##que.CCBTYPE##tab.tqh_first; \ + cb = TAILQ_FIRST(&(CCBTYPE##que.CCBTYPE##tab)); \ if (cb != NULL) \ { \ TAILQ_REMOVE(&CCBTYPE##que.CCBTYPE##tab, cb, CHAIN);\