Use NG_PATHSIZ instead of NG_PATHLEN + 1.
This commit is contained in:
parent
867cdecd40
commit
c402ff5910
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193807
@ -150,7 +150,7 @@ ctl_show(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
struct ng_mesg *ng_mesg;
|
struct ng_mesg *ng_mesg;
|
||||||
struct ngnf_flows *data;
|
struct ngnf_flows *data;
|
||||||
char path[NG_PATHLEN + 1];
|
char path[NG_PATHSIZ];
|
||||||
int token, nread, last = 0;
|
int token, nread, last = 0;
|
||||||
int verbose = 0;
|
int verbose = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user