lib/package_unpack.c: remove extra arg in xbps_set_cb_state().

This commit is contained in:
Juan RP 2013-05-15 12:45:35 +02:00
parent 91c08bfe75
commit 7da5f6e8f7

View File

@ -452,7 +452,7 @@ unpack_archive(struct xbps_handle *xhp,
if (archive_read_extract(ar, entry, flags) != 0) {
rv = archive_errno(ar);
xbps_set_cb_state(xhp, XBPS_STATE_UNPACK_FAIL,
rv, pkgver, NULL,
rv, pkgver,
"%s: [unpack] failed to extract file `%s': %s",
pkgver, entry_pname, strerror(rv));
} else {