diff options
author | glebius <glebius@FreeBSD.org> | 2011-07-04 13:55:55 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-07-04 13:55:55 +0000 |
commit | ab5a5d466b2082866369977570d27eae453daffd (patch) | |
tree | 77854add42e66f656617548aeb9132c9e7fd28f2 /sys/netgraph | |
parent | 547ab0764389293fa87b6686d9a8890ebb10ad94 (diff) | |
download | FreeBSD-src-ab5a5d466b2082866369977570d27eae453daffd.zip FreeBSD-src-ab5a5d466b2082866369977570d27eae453daffd.tar.gz |
Fix build with NETGRAPH_DEBUG.
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/netgraph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h index 51fe440..790f872 100644 --- a/sys/netgraph/netgraph.h +++ b/sys/netgraph/netgraph.h @@ -493,11 +493,11 @@ _ng_node_ref(node_p node, char *file, int line) _NG_NODE_REF(node); } -static __inline int +static __inline void _ng_node_unref(node_p node, char *file, int line) { _chknode(node, file, line); - return (_NG_NODE_UNREF(node)); + _NG_NODE_UNREF(node); } static __inline void |