1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00

Use NG_NODESIZ instead of (NG_NODELEN + 1)

Noted by: jhb
This commit is contained in:
Julian Elischer 2004-05-24 20:45:53 +00:00
parent bac74dea2f
commit 86a91f8b89
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129675

View File

@ -222,7 +222,7 @@ struct softc {
struct mdesc *mdt[NHDLC];
struct mdesc *mdr[NHDLC];
node_p node; /* NG node */
char nodename[NG_NODELEN + 1]; /* NG nodename */
char nodename[NG_NODESIZ]; /* NG nodename */
struct schan *chan[NHDLC];
u_long cnt_ferr;
u_long cnt_cerr;