summaryrefslogtreecommitdiff
path: root/modules/pam_motd/pam_motd.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_motd/pam_motd.c')
-rw-r--r--modules/pam_motd/pam_motd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pam_motd/pam_motd.c b/modules/pam_motd/pam_motd.c
index 552c4fc0..fff76e07 100644
--- a/modules/pam_motd/pam_motd.c
+++ b/modules/pam_motd/pam_motd.c
@@ -34,7 +34,7 @@
#define DEFAULT_MOTD "/etc/motd"
#include <security/pam_modules.h>
-#include <security/_pam_modutil.h>
+#include <security/pam_modutil.h>
/* --- session management functions (only) --- */
@@ -85,7 +85,7 @@ int pam_sm_open_session(pam_handle_t *pamh, int flags,
if (!(mtmp = malloc(st.st_size+1)))
break;
- if (_pammodutil_read(fd, mtmp, st.st_size) != st.st_size)
+ if (pam_modutil_read(fd, mtmp, st.st_size) != st.st_size)
break;
if (mtmp[st.st_size-1] == '\n')