summaryrefslogtreecommitdiff
path: root/sys/dev/sr
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/sr
parentce7e8baded2ab8435e80f35b06194ebb8286af91 (diff)
Notes
Diffstat (limited to 'sys/dev/sr')
-rw-r--r--sys/dev/sr/if_sr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index 745dada75358..92889c2b20e7 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.c
@@ -143,7 +143,7 @@ struct sr_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 */