aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--modules/pam_selinux/pam_selinux.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b8e5999..17336ac6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-07 Dmitry V. Levin <ldv@altlinux.org>
+
+ * modules/pam_selinux/pam_selinux.c (verbose_message): Fix format
+ string.
+
2010-10-04 Dmitry V. Levin <ldv@altlinux.org>
* libpam/pam_modutil_priv.c: New file.
diff --git a/modules/pam_selinux/pam_selinux.c b/modules/pam_selinux/pam_selinux.c
index c6f887a6..1f412d17 100644
--- a/modules/pam_selinux/pam_selinux.c
+++ b/modules/pam_selinux/pam_selinux.c
@@ -545,9 +545,9 @@ static void
verbose_message(pam_handle_t *pamh, char *msg, int debug)
{
if (debug)
- pam_syslog(pamh, LOG_NOTICE, msg);
+ pam_syslog(pamh, LOG_NOTICE, "%s", msg);
- pam_info (pamh, "%s", msg);
+ pam_info(pamh, "%s", msg);
}
PAM_EXTERN int