summaryrefslogtreecommitdiff
path: root/modules/pam_lastlog/pam_lastlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_lastlog/pam_lastlog.c')
-rw-r--r--modules/pam_lastlog/pam_lastlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_lastlog/pam_lastlog.c b/modules/pam_lastlog/pam_lastlog.c
index a26b7c2e..a75e1ce7 100644
--- a/modules/pam_lastlog/pam_lastlog.c
+++ b/modules/pam_lastlog/pam_lastlog.c
@@ -337,7 +337,7 @@ last_login_date(pam_handle_t *pamh, int announce, uid_t uid, const char *user)
D(("unable to create %s file", _PATH_LASTLOG));
return PAM_SERVICE_ERR;
}
- pam_syslog(pamh, LOG_WARN,
+ pam_syslog(pamh, LOG_WARNING,
"file %s created", _PATH_LASTLOG);
D(("file %s created", _PATH_LASTLOG));
} else {