aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_ether.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-10-09 14:20:18 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-10-09 14:20:18 +0000
commit7ea5573cd8627fd8b1dcce65b31b18dd6b431e66 (patch)
tree0b9ad361d3789ab5615e965c766fa0eb74255751 /sys/netgraph/ng_ether.c
parent4e8ba8de2659bcf94f48865143c03be67c4b0d3b (diff)
downloadsrc-7ea5573cd8627fd8b1dcce65b31b18dd6b431e66.tar.gz
src-7ea5573cd8627fd8b1dcce65b31b18dd6b431e66.zip
Return 0, not NULL, from a function declared as returning int.
Notes
Notes: svn path=/head/; revision=136312
Diffstat (limited to 'sys/netgraph/ng_ether.c')
-rw-r--r--sys/netgraph/ng_ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c
index 3000b7eb4041..46d64c44eb54 100644
--- a/sys/netgraph/ng_ether.c
+++ b/sys/netgraph/ng_ether.c
@@ -496,7 +496,7 @@ ng_ether_rcvdata(hook_p hook, item_p item)
return ng_ether_rcv_upper(node, m);
panic("%s: weird hook", __func__);
#ifdef RESTARTABLE_PANICS /* so we don't get an error msg in LINT */
- return NULL;
+ return (0);
#endif
}