aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ar
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2004-01-26 16:41:21 +0000
committerHartmut Brandt <harti@FreeBSD.org>2004-01-26 16:41:21 +0000
commit3b3948e881c92a54c8102d81095d8d21a1985989 (patch)
tree15e0ebdf55d7e52d91df9854057167ee12f99896 /sys/dev/ar
parentce7e8baded2ab8435e80f35b06194ebb8286af91 (diff)
Notes
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 edba0ba08554..a98c53341f5f 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 */