bin/xbps-pkgdb/check.c: CID 62721 (argument cannot be negative)

This commit is contained in:
Juan RP 2014-10-07 07:25:25 +02:00
parent 6a50290fe1
commit 960c3fdcdf

View File

@ -116,7 +116,7 @@ do { \
if (rv == -1) { \ if (rv == -1) { \
xbps_error_printf("%s: the %s test " \ xbps_error_printf("%s: the %s test " \
"returned error!\n", pkgname, #name); \ "returned error!\n", pkgname, #name); \
return rv; \ return EINVAL; \
} \ } \
} \ } \
} while (0) } while (0)