diff --git a/ChangeLog b/ChangeLog index 11162b68..5805bd46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-23 Nicolas François + + * libmisc/pam_pass.c: Use fputs rather than fprintf for constant + strings. + 2008-05-21 Nicolas François * man/login.1.xml: Indicate that login should be executed with diff --git a/libmisc/pam_pass.c b/libmisc/pam_pass.c index ea0f3a9e..2d2115c3 100644 --- a/libmisc/pam_pass.c +++ b/libmisc/pam_pass.c @@ -70,7 +70,7 @@ void do_pam_passwd (const char *user, int silent, int change_expired) ret = pam_chauthtok (pamh, flags); if (ret != PAM_SUCCESS) { fprintf (stderr, _("passwd: %s\n"), pam_strerror (pamh, ret)); - fprintf (stderr, _("passwd: password unchanged\n")); + fputs (_("passwd: password unchanged\n"), stderr); pam_end (pamh, ret); exit (10); /* XXX */ }