aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-01-16 13:34:37 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-01-16 13:34:37 -0600
commit87c98ebb01873120eecc1757e615b3a4c14a2f1f (patch)
treec480e35ce0aae6602225cbcf21265fb740ceb399
parent4af5a80b0c516773286cc30e743dc90a2d19df23 (diff)
checkpath: fix lchown error message
X-Gentoo-Bug: 643084 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=643084
-rw-r--r--src/rc/checkpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 8846761b..39e7ce4d 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -169,7 +169,7 @@ static int do_check(char *path, uid_t uid, gid_t gid, mode_t mode,
}
einfo("%s: correcting owner", path);
if (lchown(path, uid, gid)) {
- eerror("%s: chown: %s", applet, strerror(errno));
+ eerror("%s: lchown: %s", applet, strerror(errno));
return -1;
}
}