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

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;