summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_hub.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_hub.c')
-rw-r--r--sys/netgraph/ng_hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_hub.c b/sys/netgraph/ng_hub.c
index f013aac..2a8c2d2 100644
--- a/sys/netgraph/ng_hub.c
+++ b/sys/netgraph/ng_hub.c
@@ -37,7 +37,7 @@
#include <netgraph/netgraph.h>
#ifdef NG_SEPARATE_MALLOC
-MALLOC_DEFINE(M_NETGRAPH_HUB, "netgraph_hub", "netgraph hub node");
+static MALLOC_DEFINE(M_NETGRAPH_HUB, "netgraph_hub", "netgraph hub node");
#else
#define M_NETGRAPH_HUB M_NETGRAPH
#endif
OpenPOWER on IntegriCloud