summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_base.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2002-08-22 00:30:03 +0000
committerarchie <archie@FreeBSD.org>2002-08-22 00:30:03 +0000
commitd8ca8557f2a88762784a87a5ad7952e7925b7ef9 (patch)
tree01952af29b3b8f705dc7b20a7c7924edacae9558 /sys/netgraph/ng_base.c
parent02c9dde601f6574cda62e65c86740d51e271605c (diff)
downloadFreeBSD-src-d8ca8557f2a88762784a87a5ad7952e7925b7ef9.zip
FreeBSD-src-d8ca8557f2a88762784a87a5ad7952e7925b7ef9.tar.gz
Don't use "NULL" when "0" is really meant.
Diffstat (limited to 'sys/netgraph/ng_base.c')
-rw-r--r--sys/netgraph/ng_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 1acc6ad..3956b93 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -3124,7 +3124,7 @@ ng_free_item(item_p item)
NG_FREE_META(_NGI_META(item));
break;
case NGQF_MESG:
- _NGI_RETADDR(item) = NULL;
+ _NGI_RETADDR(item) = 0;
NG_FREE_MSG(_NGI_MSG(item));
break;
case NGQF_FN:
@@ -3453,7 +3453,7 @@ ng_package_msg(struct ng_mesg *msg)
* Set the current lasthook into the queue item
*/
NGI_MSG(item) = msg;
- NGI_RETADDR(item) = NULL;
+ NGI_RETADDR(item) = 0;
return (item);
}
OpenPOWER on IntegriCloud