diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-25 16:48:20 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-25 16:48:20 +0100 |
commit | 3149a45bfbf05a02155f17bbd10fa58ec24f5655 (patch) | |
tree | cf9b71b9cdef50a6adb3b6787290581ecacc75fb /src | |
parent | 1fcc49675640acc14ee50549d0143c5b8164bdf8 (diff) | |
download | pacman-3149a45bfbf05a02155f17bbd10fa58ec24f5655.tar.gz pacman-3149a45bfbf05a02155f17bbd10fa58ec24f5655.tar.xz |
Add directory name to ownership error message
If you were doing a -Qo via xargs, it is at least nice to see what input
caused the error message to occur rather than having a bunch of plain
messages. This matches the style when we can't find the owner of a file.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c index c79133d1..18c69922 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -148,7 +148,7 @@ static int query_fileowner(alpm_list_t *targets) if(S_ISDIR(buf.st_mode)) { pm_fprintf(stderr, PM_LOG_ERROR, - _("cannot determine ownership of a directory\n")); + _("cannot determine ownership of directory '%s'\n"), filename); ret++; free(filename); continue; |