summaryrefslogtreecommitdiffstats
path: root/usr.sbin/flowctl
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-06-09 05:18:14 +0000
committerimp <imp@FreeBSD.org>2009-06-09 05:18:14 +0000
commit2cb991f821e9b9dfc9a04e229495475400003382 (patch)
treec520c0ecaaf21db7211b4dc9057708b029e8852c /usr.sbin/flowctl
parent9df3e8cc3afb415d1db7a64a9ba048a8c427e98e (diff)
downloadFreeBSD-src-2cb991f821e9b9dfc9a04e229495475400003382.zip
FreeBSD-src-2cb991f821e9b9dfc9a04e229495475400003382.tar.gz
Use NG_PATHSIZ instead of NG_PATHLEN + 1.
Diffstat (limited to 'usr.sbin/flowctl')
-rw-r--r--usr.sbin/flowctl/flowctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/flowctl/flowctl.c b/usr.sbin/flowctl/flowctl.c
index 856fe58..4350bd4 100644
--- a/usr.sbin/flowctl/flowctl.c
+++ b/usr.sbin/flowctl/flowctl.c
@@ -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;
OpenPOWER on IntegriCloud