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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue