From 7da5f6e8f76a47e899df1fc0d0e58256bc0dbcd0 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 15 May 2013 12:45:35 +0200
Subject: [PATCH] lib/package_unpack.c: remove extra arg in
 xbps_set_cb_state().

---
 lib/package_unpack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/package_unpack.c b/lib/package_unpack.c
index e1d0fc1..259b13c 100644
--- lib/package_unpack.c
+++ lib/package_unpack.c
@@ -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 {
-- 
1.8.2.2

