checkpath: fix lchown error message

X-Gentoo-Bug: 643084
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=643084
This commit is contained in:
William Hubbs 2018-01-16 13:34:37 -06:00
parent 4af5a80b0c
commit 87c98ebb01

View File

@ -169,7 +169,7 @@ static int do_check(char *path, uid_t uid, gid_t gid, mode_t mode,
} }
einfo("%s: correcting owner", path); einfo("%s: correcting owner", path);
if (lchown(path, uid, gid)) { if (lchown(path, uid, gid)) {
eerror("%s: chown: %s", applet, strerror(errno)); eerror("%s: lchown: %s", applet, strerror(errno));
return -1; return -1;
} }
} }