diff options
Diffstat (limited to 'lib/libpam/modules/pam_nologin/pam_nologin.c')
-rw-r--r-- | lib/libpam/modules/pam_nologin/pam_nologin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_nologin/pam_nologin.c b/lib/libpam/modules/pam_nologin/pam_nologin.c index dbc02dd..5f85b25 100644 --- a/lib/libpam/modules/pam_nologin/pam_nologin.c +++ b/lib/libpam/modules/pam_nologin/pam_nologin.c @@ -108,7 +108,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, int argc, const char if (mtmp != NULL) { read(fd, mtmp, st.st_size); mtmp[st.st_size] = '\0'; - pam_prompt(pamh, PAM_ERROR_MSG, mtmp, NULL); + pam_error(pamh, "%s", mtmp, NULL); free(mtmp); } |