Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- login-utils/chfn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/login-utils/chfn.c b/login-utils/chfn.c index 21c6466..2d9a092 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 -- 1.7.9.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html