svn commit: r193807 - head/usr.sbin/flowctl
Warner Losh
imp at FreeBSD.org
Tue Jun 9 05:18:15 UTC 2009
Author: imp
Date: Tue Jun 9 05:18:14 2009
New Revision: 193807
URL: http://svn.freebsd.org/changeset/base/193807
Log:
Use NG_PATHSIZ instead of NG_PATHLEN + 1.
Modified:
head/usr.sbin/flowctl/flowctl.c
Modified: head/usr.sbin/flowctl/flowctl.c
==============================================================================
--- head/usr.sbin/flowctl/flowctl.c Tue Jun 9 04:58:15 2009 (r193806)
+++ head/usr.sbin/flowctl/flowctl.c Tue Jun 9 05:18:14 2009 (r193807)
@@ -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;
More information about the svn-src-all
mailing list