summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2010-10-08 11:53:38 +0000
committerDmitry V. Levin <ldv@altlinux.org>2010-10-08 11:53:38 +0000
commitbd093f250963e33c98801a1058de337e38ca1ef0 (patch)
tree2f2a067b9337265f43a28452a7a3309bc4636bcd
parent0b1055f64657dc0bf175f75c23470b2be7630451 (diff)
Relevant BUGIDs:
Purpose of commit: bugfix Commit summary: --------------- 2010-10-07 Dmitry V. Levin <ldv@altlinux.org> * modules/pam_selinux/pam_selinux.c (verbose_message): Fix format string.
-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