bin/xbps-pkgdb/check.c: CID 62721 (argument cannot be negative)
This commit is contained in:
parent
6a50290fe1
commit
960c3fdcdf
@ -116,7 +116,7 @@ do { \
|
||||
if (rv == -1) { \
|
||||
xbps_error_printf("%s: the %s test " \
|
||||
"returned error!\n", pkgname, #name); \
|
||||
return rv; \
|
||||
return EINVAL; \
|
||||
} \
|
||||
} \
|
||||
} while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user