summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-02-21 20:54:05 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-02-21 20:54:05 +0000
commitff545b14f20bf3f9b8bf364f9b3fc871e53339ac (patch)
tree7bfab2a34e54ed50a15c55462ee5b317e7d0586e /sys
parent484d4054715e8a0c9bf4ded1bbecabe3f3aa45f5 (diff)
From FreeBSD: Correct use of NULL/0
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_tx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_tx.c b/sys/dev/pci/if_tx.c
index be40b322069..a5ec0f7782e 100644
--- a/sys/dev/pci/if_tx.c
+++ b/sys/dev/pci/if_tx.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: if_tx.c,v 1.9 1999/11/17 05:21:18 jason Exp $ */
-/* $FreeBSD: src/sys/pci/if_tx.c,v 1.33 1999/10/29 09:56:51 semenu Exp $ */
+/* $OpenBSD: if_tx.c,v 1.10 2000/02/21 20:54:04 jason Exp $ */
+/* $FreeBSD: src/sys/pci/if_tx.c,v 1.34 1999/12/21 11:14:10 eivind Exp $ */
/*-
* Copyright (c) 1997 Semen Ustimenko (semen@iclub.nsu.ru)
@@ -56,7 +56,7 @@
{ MGETHDR((m),M_DONTWAIT,MT_DATA); \
if (m) { \
MCLGET((m),M_DONTWAIT); \
- if( NULL == ((m)->m_flags & M_EXT) ){ \
+ if( 0 == ((m)->m_flags & M_EXT) ){ \
m_freem(m); \
(m) = NULL; \
} \