aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-11-13 14:07:05 +0100
committerDmitry V. Levin <ldv@strace.io>2023-11-13 13:24:08 +0000
commitbb9d1a209182d8cec8dfb9200eb8a9d8e0d1bc67 (patch)
tree0d91920682bc455e1c47653eeb700925f63c7bd4 /modules
parent3157eb8f9cb54c4a48bd255adc9e8ebd9b7f7acd (diff)
downloadpam-bb9d1a209182d8cec8dfb9200eb8a9d8e0d1bc67.tar.gz
pam-bb9d1a209182d8cec8dfb9200eb8a9d8e0d1bc67.tar.bz2
pam-bb9d1a209182d8cec8dfb9200eb8a9d8e0d1bc67.zip
pam_group: ensure correct argument type when printing debug output
While the underlying type for setting the service was correct, the additional output neglected to include the type cast necessary when actually printing the data. This is rectified here. Signed-off-by: Benny Baumann <BenBE@geshi.org>
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_group/pam_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_group/pam_group.c b/modules/pam_group/pam_group.c
index 038306c7..08cad250 100644
--- a/modules/pam_group/pam_group.c
+++ b/modules/pam_group/pam_group.c
@@ -821,7 +821,7 @@ pam_sm_setcred (pam_handle_t *pamh, int flags,
/* good, now we have the service name, the user and the terminal name */
- D(("service=%s", service));
+ D(("service=%s", (const char *) service));
D(("user=%s", user));
D(("tty=%s", tty));