commit:     87c98ebb01873120eecc1757e615b3a4c14a2f1f
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jan 16 19:34:37 2018 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jan 16 19:34:37 2018 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=87c98ebb

checkpath: fix lchown error message

X-Gentoo-Bug: 643084
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=643084

 src/rc/checkpath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to