mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
cap_fileargs: fix test after r346318
Reported by: danfe, mjg MFC after: 3 weeks MFC with: r346315 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
246e18b224
commit
151744cf5c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346321
|
@ -579,7 +579,7 @@ fileargs_command_lstat(const nvlist_t *limits, nvlist_t *nvlin,
|
|||
name = nvlist_get_string(nvlin, "name");
|
||||
|
||||
error = lstat(name, &sb);
|
||||
if (stat < 0)
|
||||
if (error < 0)
|
||||
return (errno);
|
||||
|
||||
if (!allcached && (lastname == NULL ||
|
||||
|
|
Loading…
Reference in a new issue