summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index 83939509..b19e645a 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -189,7 +189,8 @@ void cb_event(alpm_event_t *event)
alpm_event_hook_run_t *e = &event->hook_run;
int digits = number_length(e->total);
printf("(%*zu/%*zu) %s\n", digits, e->position,
- digits, e->total, e->name);
+ digits, e->total,
+ e->desc ? e->desc : e->name);
}
break;
case ALPM_EVENT_CHECKDEPS_START: