summaryrefslogtreecommitdiffstats
path: root/sys/dev/ar
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-01-26 16:41:21 +0000
committerharti <harti@FreeBSD.org>2004-01-26 16:41:21 +0000
commiteefcd12e91a2feb9008f0da7d17fd03a990ae209 (patch)
tree15e0ebdf55d7e52d91df9854057167ee12f99896 /sys/dev/ar
parent6f8ce9616a6ce904600e756a8ab2336f6ea6ba80 (diff)
downloadFreeBSD-src-eefcd12e91a2feb9008f0da7d17fd03a990ae209.zip
FreeBSD-src-eefcd12e91a2feb9008f0da7d17fd03a990ae209.tar.gz
Get rid of the last two uses of NG_NODELEN + 1 in the base system by
replacing them with NG_NODESIZ.
Diffstat (limited to 'sys/dev/ar')
-rw-r--r--sys/dev/ar/if_ar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c
index edba0ba..a98c533 100644
--- a/sys/dev/ar/if_ar.c
+++ b/sys/dev/ar/if_ar.c
@@ -125,7 +125,7 @@ struct ar_softc {
int running; /* something is attached so we are running */
int dcd; /* do we have dcd? */
/* ---netgraph bits --- */
- char nodename[NG_NODELEN + 1]; /* store our node name */
+ char nodename[NG_NODESIZ]; /* store our node name */
int datahooks; /* number of data hooks attached */
node_p node; /* netgraph node */
hook_p hook; /* data hook */
OpenPOWER on IntegriCloud