diff options
author | Sami Kerola | 2012-02-29 02:03:51 +0100 |
---|---|---|
committer | Sami Kerola | 2012-03-18 14:28:04 +0100 |
commit | 8c3221890a31bad74e9fcd8d34af05522940108a (patch) | |
tree | 01142614b6a8e7f94403b51b5b1b417868a7dd96 /login-utils/chfn.c | |
parent | docs: TODO removal, rpmatch task is done (diff) | |
download | kernel-qcow2-util-linux-8c3221890a31bad74e9fcd8d34af05522940108a.tar.gz kernel-qcow2-util-linux-8c3221890a31bad74e9fcd8d34af05522940108a.tar.xz kernel-qcow2-util-linux-8c3221890a31bad74e9fcd8d34af05522940108a.zip |
chfn: use pathnames.h for paths
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/chfn.c')
-rw-r--r-- | login-utils/chfn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/chfn.c b/login-utils/chfn.c index 21c6466bd..2d9a092cb 100644 --- a/login-utils/chfn.c +++ b/login-utils/chfn.c @@ -142,9 +142,9 @@ int main(int argc, char **argv) oldf.username); } } - if (setupDefaultContext("/etc/passwd")) + if (setupDefaultContext(_PATH_PASSWD)) errx(EXIT_FAILURE, - _("can't set default context for /etc/passwd")); + _("can't set default context for %s"), _PATH_PASSWD); } #endif |