Use NG_PATHSIZ instead of NG_PATHLEN + 1.
This commit is contained in:
parent
867cdecd40
commit
c402ff5910
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user