From c402ff5910c6e93fddb40b306f91c1ab296464b6 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 9 Jun 2009 05:18:14 +0000 Subject: [PATCH] Use NG_PATHSIZ instead of NG_PATHLEN + 1. --- usr.sbin/flowctl/flowctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/flowctl/flowctl.c b/usr.sbin/flowctl/flowctl.c index 856fe583a3bb..4350bd479d12 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;