On Wed, Apr 17, 2019 at 04:31:30PM +0000, Ed Maste wrote: > New Revision: 346318 > URL: https://svnweb.freebsd.org/changeset/base/346318 > > Log: > cap_fileargs: fix GCC build, don't shadow 'stat' > > @@ -566,7 +566,7 @@ static int > fileargs_command_lstat(const nvlist_t *limits, nvlist_t *nvlin, > nvlist_t *nvlout) > { > - int stat; > + int error; > const char *name; > struct stat sb; > > @@ -578,7 +578,7 @@ fileargs_command_lstat(const nvlist_t *limits, nvlist_ > > name = nvlist_get_string(nvlin, "name"); > > - stat = lstat(name, &sb); > + error = lstat(name, &sb); > if (stat < 0) > return (errno);
Looks like "if (stat < 0)" is wrong now. ./danfe _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"