Use NG_PATHSIZ instead of NG_PATHLEN + 1.

This commit is contained in:
Warner Losh 2009-06-09 05:18:14 +00:00
parent 867cdecd40
commit c402ff5910
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193807

View File

@ -150,7 +150,7 @@ ctl_show(int argc, char **argv)
{
struct ng_mesg *ng_mesg;
struct ngnf_flows *data;
char path[NG_PATHLEN + 1];
char path[NG_PATHSIZ];
int token, nread, last = 0;
int verbose = 0;