diff options
author | imp <imp@FreeBSD.org> | 2009-06-09 05:18:14 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-06-09 05:18:14 +0000 |
commit | 2cb991f821e9b9dfc9a04e229495475400003382 (patch) | |
tree | c520c0ecaaf21db7211b4dc9057708b029e8852c | |
parent | 9df3e8cc3afb415d1db7a64a9ba048a8c427e98e (diff) | |
download | FreeBSD-src-2cb991f821e9b9dfc9a04e229495475400003382.zip FreeBSD-src-2cb991f821e9b9dfc9a04e229495475400003382.tar.gz |
Use NG_PATHSIZ instead of NG_PATHLEN + 1.
-rw-r--r-- | usr.sbin/flowctl/flowctl.c | 2 |
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; |