aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2011-10-27 09:43:25 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2011-10-27 09:43:25 +0000
commite5fe87b387c41c27bbe68691aa2ddb079146dac1 (patch)
treec5c983134cab938e28bb1bc07b6a85364007286f /sys/netgraph/netgraph.h
parent1ed9dc778b0b2476c214d7e88bea077e148a88e1 (diff)
Notes
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index 7b67c94ea504..09ee09e22f6b 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -57,6 +57,7 @@
#ifdef HAVE_KERNEL_OPTION_HEADERS
#include "opt_netgraph.h"
+#include "opt_kdb.h"
#endif
/* debugging options */
@@ -190,7 +191,7 @@ static __inline void
_chkhook(hook_p hook, char *file, int line)
{
if (hook->hk_magic != HK_MAGIC) {
- printf("Accessing freed hook ");
+ printf("Accessing freed ");
dumphook(hook, file, line);
}
hook->lastline = line;
@@ -458,7 +459,7 @@ static __inline void
_chknode(node_p node, char *file, int line)
{
if (node->nd_magic != ND_MAGIC) {
- printf("Accessing freed node ");
+ printf("Accessing freed ");
dumpnode(node, file, line);
}
node->lastline = line;