summaryrefslogtreecommitdiff
path: root/src/db
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/db
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/db')
-rw-r--r--src/db/sysdb_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
index 528b84f1..6c1fc49b 100644
--- a/src/db/sysdb_ops.c
+++ b/src/db/sysdb_ops.c
@@ -1559,7 +1559,7 @@ int sysdb_store_user(struct sysdb_ctx *sysdb,
}
DEBUG(SSSDBG_MINOR_FAILURE,
("A user with the same UID [%llu] was removed from the "
- "cache\n", uid));
+ "cache\n", (unsigned long long) uid));
ret = sysdb_add_user(sysdb, name, uid, gid, gecos,
homedir, shell, attrs, cache_timeout, now);
}
@@ -1706,7 +1706,7 @@ int sysdb_store_group(struct sysdb_ctx *sysdb,
}
DEBUG(SSSDBG_MINOR_FAILURE,
("A group with the same GID [%llu] was removed from the "
- "cache\n", gid));
+ "cache\n", (unsigned long long) gid));
ret = sysdb_add_group(sysdb, name, gid, attrs, cache_timeout, now);
}
goto done;