diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2000-02-21 20:54:05 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2000-02-21 20:54:05 +0000 |
commit | ff545b14f20bf3f9b8bf364f9b3fc871e53339ac (patch) | |
tree | 7bfab2a34e54ed50a15c55462ee5b317e7d0586e /sys | |
parent | 484d4054715e8a0c9bf4ded1bbecabe3f3aa45f5 (diff) |
From FreeBSD: Correct use of NULL/0
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_tx.c | 6 |
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; \ } \ |