diff options
-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 |