summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-11-04 00:10:51 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-11-04 00:10:51 +0000
commit1f1eed4b35b30c0aef4a94467403f005df19a231 (patch)
treee114c4d89c5cb3c252afca57961ef82cdbc3c37d /sys
parentd2d52874f7df40dfc31021f774e0c6904544d77f (diff)
use IFQ_IS_EMPTY to see if if_snd is empty, not IF_IS_EMPTY
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_de.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 1476376cbf7..7c5c31299de 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.125 2015/11/04 00:09:59 dlg Exp $ */
+/* $OpenBSD: if_de.c,v 1.126 2015/11/04 00:10:50 dlg Exp $ */
/* $NetBSD: if_de.c,v 1.58 1998/01/12 09:39:58 thorpej Exp $ */
/*-
@@ -3869,7 +3869,7 @@ tulip_txput(tulip_softc_t * const sc, struct mbuf *m, int notonqueue)
struct mbuf *tmp;
if (!notonqueue) {
#ifdef DIAGNOSTIC
- if (IF_IS_EMPTY(&ifp->if_snd))
+ if (IFQ_IS_EMPTY(&ifp->if_snd))
panic("%s: if_snd queue empty", ifp->if_xname);
#endif
IFQ_DEQUEUE(&ifp->if_snd, tmp);
@@ -3953,7 +3953,7 @@ tulip_txput(tulip_softc_t * const sc, struct mbuf *m, int notonqueue)
/* remove the mbuf from the queue */
struct mbuf *tmp;
#ifdef DIAGNOSTIC
- if (IF_IS_EMPTY(&ifp->if_snd))
+ if (IFQ_IS_EMPTY(&ifp->if_snd))
panic("%s: if_snd queue empty", ifp->if_xname);
#endif
IFQ_DEQUEUE(&ifp->if_snd, tmp);