1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

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>
This commit is contained in:
Dan McGee 2011-02-25 09:48:20 -06:00
parent 1fcc496756
commit 3149a45bfb

View File

@ -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;