summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_device.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-01-26 14:05:31 +0000
committerharti <harti@FreeBSD.org>2004-01-26 14:05:31 +0000
commit14cb10664f95adf9dd36c845745d3d5c87d3d636 (patch)
treea18015e7df92db337721d9972123a9203ac17d71 /sys/netgraph/ng_device.c
parent98f2740a9c4a3cda7a5f4e77919cfe1284eed47c (diff)
downloadFreeBSD-src-14cb10664f95adf9dd36c845745d3d5c87d3d636.zip
FreeBSD-src-14cb10664f95adf9dd36c845745d3d5c87d3d636.tar.gz
Get rid of the deprecated *LEN constants in favour of the new
*SIZ constants that include the trailing \0 byte.
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