summaryrefslogtreecommitdiff
path: root/src/pacman/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/package.c')
-rw-r--r--src/pacman/package.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index 6a5c7c11..42a8635e 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -307,12 +307,9 @@ void dump_pkg_files(alpm_pkg_t *pkg, int quiet)
* Quiet : '<root><filepath>\n'
*/
if(!quiet) {
- fputs(pkgname, stdout);
- putchar(' ');
+ printf("%s%s%s ", config->colstr.title, pkgname, config->colstr.nocolor);
}
- fputs(root, stdout);
- fputs(file->name, stdout);
- putchar('\n');
+ printf("%s%s\n", root, file->name);
}
fflush(stdout);