summaryrefslogtreecommitdiff
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-07-10 15:16:16 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-07-10 09:30:57 -0400
commit2bdb99e3578fa8ff606632d9e7242bc753737752 (patch)
tree26041c490cf82842e1f1b5a0343c65f0570a8c49 /src/providers/krb5
parent951a2082ba1bfe2fec59b06b1f3fdf424d9d75c2 (diff)
downloadsssd-2bdb99e3578fa8ff606632d9e7242bc753737752.tar.gz
sssd-2bdb99e3578fa8ff606632d9e7242bc753737752.tar.bz2
sssd-2bdb99e3578fa8ff606632d9e7242bc753737752.zip
Cast uid_t to unsigned long long in DEBUG messages
Diffstat (limited to 'src/providers/krb5')
-rw-r--r--src/providers/krb5/krb5_child.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index 8cf62555..817a3d01 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -1345,9 +1345,9 @@ static errno_t unpack_buffer(uint8_t *buf, size_t size, struct pam_data *pd,
DEBUG(SSSDBG_CONF_SETTINGS,
("cmd [%d] uid [%llu] gid [%llu] validate [%s] offline [%s] "
- "UPN [%s]\n", pd->cmd, kr->uid, kr->gid,
- kr->validate ? "true" : "false", *offline ? "true" : "false",
- kr->upn ? kr->upn : "none"));
+ "UPN [%s]\n", pd->cmd, (unsigned long long) kr->uid,
+ (unsigned long long) kr->gid, kr->validate ? "true" : "false",
+ *offline ? "true" : "false", kr->upn ? kr->upn : "none"));
if (pd->cmd == SSS_PAM_AUTHENTICATE ||
pd->cmd == SSS_CMD_RENEW ||