diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-08-06 16:54:59 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-08-06 16:54:59 +0300 |
commit | ba005f2e97b025d91758f513e808717e4baa4287 (patch) | |
tree | 36481d492486abec9d2dc4c34203c8c46b295e71 /src/add.c | |
parent | bf7b80662d75181caf1619c047078dafe80346f9 (diff) | |
download | aports-ba005f2e97b025d91758f513e808717e4baa4287.tar.bz2 aports-ba005f2e97b025d91758f513e808717e4baa4287.tar.xz |
state: bug fix
Diffstat (limited to 'src/add.c')
-rw-r--r-- | src/add.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -131,7 +131,8 @@ static int add_main(void *ctx, struct apk_database *db, int argc, char **argv) for (i = 0; (pkgs != NULL) && i < pkgs->num; i++) { r = apk_state_lock_dependency(state, &pkgs->item[i]); if (r != 0) { - apk_error("Unable to install '%s'", pkgs->item[i].name->name); + apk_error("Unable to install '%s': %d", + pkgs->item[i].name->name, r); if (!(apk_flags & APK_FORCE)) goto err; } |