diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2006-01-13 14:55:18 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2006-01-13 14:55:18 +0000 |
commit | 6afd317c70e56e105e8221ca14b433d2e055cf1f (patch) | |
tree | 3ac9cc4650ef1665519ac5917e41d795ea67f858 /libpam | |
parent | 15d1bd639b095fe63c164dcb5ba8977e8eecb73b (diff) | |
download | pam-6afd317c70e56e105e8221ca14b433d2e055cf1f.tar.gz pam-6afd317c70e56e105e8221ca14b433d2e055cf1f.tar.bz2 pam-6afd317c70e56e105e8221ca14b433d2e055cf1f.zip |
Relevant BUGIDs: none
Purpose of commit: cleanup
Commit summary:
---------------
2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
* libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
call with %m specifier.
Diffstat (limited to 'libpam')
-rw-r--r-- | libpam/pam_audit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libpam/pam_audit.c b/libpam/pam_audit.c index 7c067d9b..acf7da8b 100644 --- a/libpam/pam_audit.c +++ b/libpam/pam_audit.c @@ -56,8 +56,7 @@ _pam_auditlog(pam_handle_t *pamh, int action, int retval, int flags) /* this should only fail in case of extreme resource shortage, * need to prevent login in that case for CAPP compliance. */ - pam_syslog(pamh, LOG_CRIT, "audit_open() failed: %s", - strerror(errno)); + pam_syslog(pamh, LOG_CRIT, "audit_open() failed: %m"); return PAM_SYSTEM_ERR; } |