mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-10 11:35:00 -05: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:
parent
1fcc496756
commit
3149a45bfb
@ -148,7 +148,7 @@ static int query_fileowner(alpm_list_t *targets)
|
|||||||
|
|
||||||
if(S_ISDIR(buf.st_mode)) {
|
if(S_ISDIR(buf.st_mode)) {
|
||||||
pm_fprintf(stderr, PM_LOG_ERROR,
|
pm_fprintf(stderr, PM_LOG_ERROR,
|
||||||
_("cannot determine ownership of a directory\n"));
|
_("cannot determine ownership of directory '%s'\n"), filename);
|
||||||
ret++;
|
ret++;
|
||||||
free(filename);
|
free(filename);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user