summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pacman/package.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index ae46d624..15c227cf 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -203,7 +203,8 @@ void dump_pkg_files(pmpkg_t *pkg)
pkgfiles = alpm_pkg_get_files(pkg);
for(i = pkgfiles; i; i = alpm_list_next(i)) {
- fprintf(stdout, "%s %s\n", (char *)pkgname, (char *)alpm_list_getdata(i));
+ fprintf(stdout, "%s %s%s\n", pkgname, alpm_option_get_root(),
+ (char *)alpm_list_getdata(i));
}
fflush(stdout);