summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--expac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expac.c b/expac.c
index 392abab..db64b9d 100644
--- a/expac.c
+++ b/expac.c
@@ -538,7 +538,7 @@ static int print_pkg(alpm_pkg_t *pkg, const char *format) {
case 'S': /* provides (shortdeps) */
shortdeps = true;
case 'P': /* provides */
- out += print_list(alpm_pkg_get_provides(pkg), NULL, shortdeps);
+ out += print_list(alpm_pkg_get_provides(pkg), (extractfn)alpm_dep_get_name, shortdeps);
break;
case 'R': /* replaces */
out += print_list(alpm_pkg_get_replaces(pkg), NULL, shortdeps);