Fix typo in the comparison.
This fix build with gcc. Reported by: jenkins
This commit is contained in:
parent
8e4febf012
commit
2607c01b66
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340381
@ -176,7 +176,7 @@ fileargs_init(int argc, char *argv[], int flags, mode_t mode,
|
||||
{
|
||||
nvlist_t *limits;
|
||||
|
||||
if (argv <= 0 || argv == NULL) {
|
||||
if (argc <= 0 || argv == NULL) {
|
||||
return (fileargs_create(NULL, 0));
|
||||
}
|
||||
|
||||
@ -194,7 +194,7 @@ fileargs_cinit(cap_channel_t *cas, int argc, char *argv[], int flags,
|
||||
{
|
||||
nvlist_t *limits;
|
||||
|
||||
if (argv <= 0 || argv == NULL) {
|
||||
if (argc <= 0 || argv == NULL) {
|
||||
return (fileargs_create(NULL, 0));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user