aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-11-13 14:11:09 +0100
committerBenny Baumann <BenBE@geshi.org>2023-11-14 00:27:49 +0100
commit320fd5f60f43709209f2fbe2aa31b81af58389b8 (patch)
tree5cfdb4a9b4ab54f24adfb9f5fc0411289de2277c /modules
parentb5931a0218d5f05480c2feb6c5baee93076aa703 (diff)
downloadpam-320fd5f60f43709209f2fbe2aa31b81af58389b8.tar.gz
pam-320fd5f60f43709209f2fbe2aa31b81af58389b8.tar.bz2
pam-320fd5f60f43709209f2fbe2aa31b81af58389b8.zip
pam_time: 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_time/pam_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_time/pam_time.c b/modules/pam_time/pam_time.c
index a45d8f49..2b9387fb 100644
--- a/modules/pam_time/pam_time.c
+++ b/modules/pam_time/pam_time.c
@@ -674,7 +674,7 @@ pam_sm_acct_mgmt(pam_handle_t *pamh, int flags UNUSED,
/* 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));