From bb9d1a209182d8cec8dfb9200eb8a9d8e0d1bc67 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Mon, 13 Nov 2023 14:07:05 +0100 Subject: 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 --- modules/pam_group/pam_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/pam_group') 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)); -- cgit v1.2.3