summaryrefslogtreecommitdiffstats
path: root/src/pacman/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/query.c')
-rw-r--r--src/pacman/query.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index 34d7fcbe..522212d3 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -83,8 +83,9 @@ static int search_path(char **filename, struct stat *bufptr)
static void print_query_fileowner(const char *filename, alpm_pkg_t *info)
{
if(!config->quiet) {
- printf(_("%s is owned by %s %s\n"), filename,
- alpm_pkg_get_name(info), alpm_pkg_get_version(info));
+ const colstr_t *colstr = &config->colstr;
+ printf(_("%s is owned by %s%s %s%s\n"), filename, colstr->title,
+ alpm_pkg_get_name(info), colstr->version, alpm_pkg_get_version(info));
} else {
printf("%s\n", alpm_pkg_get_name(info));
}