From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 550C6138010 for ; Sat, 27 Oct 2012 18:12:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B117E039A; Sat, 27 Oct 2012 18:12:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EAA96E039A for ; Sat, 27 Oct 2012 18:12:10 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 579FE33D8B8 for ; Sat, 27 Oct 2012 18:12:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E28EEE5436 for ; Sat, 27 Oct 2012 18:12:08 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1351360798.e634376482e70e40aab460ca1f60a4e5a5522bba.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/checkpath.c X-VCS-Directories: src/rc/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: e634376482e70e40aab460ca1f60a4e5a5522bba X-VCS-Branch: master Date: Sat, 27 Oct 2012 18:12:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fb9c06c8-a8ff-4d27-97b2-d39bf5c967fa X-Archives-Hash: e3690723a82843a03d597c0434e47117 commit: e634376482e70e40aab460ca1f60a4e5a5522bba Author: William Hubbs gmail com> AuthorDate: Sat Oct 27 17:59:58 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Oct 27 17:59:58 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=e6343764 Checkpath: print the path when correcting the owner Checkpath was printing the path it was working with unless it was correcting the owner. In this case, it was printing "checkpath", which is not very useful. Reported-by: gmx.net> X-Gentoo-Bug: 439014 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439014 --- src/rc/checkpath.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c index 518d237..5aea597 100644 --- a/src/rc/checkpath.c +++ b/src/rc/checkpath.c @@ -133,7 +133,7 @@ do_check(char *path, uid_t uid, gid_t gid, mode_t mode, inode_t type, } if (mode && (st.st_mode & 0777) != mode) { - einfo("%s: correcting mode", applet); + einfo("%s: correcting mode", path); if (chmod(path, mode)) { eerror("%s: chmod: %s", applet, strerror(errno)); return -1;