+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/login.c: Change a snprintf() to strncpy(). There are no
+ format.
+
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
* src/passwd.c: Harmonize status report at the end of passwd.
sizeof (loginprompt),
_("%s login: "), hostn);
} else {
- snprintf (loginprompt,
- sizeof (loginprompt), _("login: "));
+ strncpy (loginprompt, _("login: "),
+ sizeof (loginprompt));
}
retcode = pam_set_item (pamh, PAM_USER_PROMPT, loginprompt);