summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_device.c')
-rw-r--r--sys/netgraph/ng_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_device.c b/sys/netgraph/ng_device.c
index e679d4e..b05c515 100644
--- a/sys/netgraph/ng_device.c
+++ b/sys/netgraph/ng_device.c
@@ -96,7 +96,7 @@ struct ngd_softc {
SLIST_HEAD(, ngd_connection) head;
node_p node;
- char nodename[NG_NODELEN + 1];
+ char nodename[NG_NODESIZ];
} ngd_softc;
/* the per connection receiving queue maximum */
OpenPOWER on IntegriCloud