lib/package_unpack.c: remove extra arg in xbps_set_cb_state().
This commit is contained in:
parent
91c08bfe75
commit
7da5f6e8f7
@ -452,7 +452,7 @@ unpack_archive(struct xbps_handle *xhp,
|
|||||||
if (archive_read_extract(ar, entry, flags) != 0) {
|
if (archive_read_extract(ar, entry, flags) != 0) {
|
||||||
rv = archive_errno(ar);
|
rv = archive_errno(ar);
|
||||||
xbps_set_cb_state(xhp, XBPS_STATE_UNPACK_FAIL,
|
xbps_set_cb_state(xhp, XBPS_STATE_UNPACK_FAIL,
|
||||||
rv, pkgver, NULL,
|
rv, pkgver,
|
||||||
"%s: [unpack] failed to extract file `%s': %s",
|
"%s: [unpack] failed to extract file `%s': %s",
|
||||||
pkgver, entry_pname, strerror(rv));
|
pkgver, entry_pname, strerror(rv));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user