From 927d7e0c5d9978fd4de229d936f69ca9af5c805d Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Tue, 1 Feb 2011 17:32:25 +0100
Subject: [PATCH] xbps_repository_find_pkg_deps: improve a debug printf.

---
 lib/repository_finddeps.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/repository_finddeps.c b/lib/repository_finddeps.c
index 14ec5638..6a8bc1b9 100644
--- a/lib/repository_finddeps.c
+++ b/lib/repository_finddeps.c
@@ -367,8 +367,8 @@ find_repo_deps(prop_dictionary_t transd,	/* transaction dictionary */
 		 * Package is on repo, add it into the dictionary.
 		 */
 		if ((rv = store_dependency(transd, curpkgd)) != 0) {
-			xbps_dbg_printf("store_dependency failed %s",
-			    reqpkg);
+			xbps_dbg_printf("store_dependency failed for "
+			    "`%s': %s\n", reqpkg, strerror(rv));
 			prop_object_release(curpkgd);
 			break;
 		}