Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 05:18:14 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193807 - head/usr.sbin/flowctl
Message-ID:  <200906090518.n595IEdc056670@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906090518.n595IEdc056670>