summaryrefslogtreecommitdiff
path: root/src/responder
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-09-04 16:52:34 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:56 +0200
commita4bf85ccc902490c3b75b44532010fbb32169801 (patch)
tree77321838168f69e052bb2e09ec2fba7024a3ae2a /src/responder
parentf2c346eaa486431ffa2a3adc05356159de834e2e (diff)
downloadsssd-a4bf85ccc902490c3b75b44532010fbb32169801.tar.gz
sssd-a4bf85ccc902490c3b75b44532010fbb32169801.tar.bz2
sssd-a4bf85ccc902490c3b75b44532010fbb32169801.zip
Fix formating of variables with type: gid_t
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/common/negcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/common/negcache.c b/src/responder/common/negcache.c
index a1f44789..1f95b1b6 100644
--- a/src/responder/common/negcache.c
+++ b/src/responder/common/negcache.c
@@ -393,7 +393,7 @@ int sss_ncache_check_gid(struct sss_nc_ctx *ctx, int ttl, gid_t gid)
char *str;
int ret;
- str = talloc_asprintf(ctx, "%s/%u", NC_GID_PREFIX, gid);
+ str = talloc_asprintf(ctx, "%s/%"SPRIgid, NC_GID_PREFIX, gid);
if (!str) return ENOMEM;
ret = sss_ncache_check_str(ctx, str, ttl);
@@ -524,7 +524,7 @@ int sss_ncache_set_gid(struct sss_nc_ctx *ctx, bool permanent, gid_t gid)
char *str;
int ret;
- str = talloc_asprintf(ctx, "%s/%u", NC_GID_PREFIX, gid);
+ str = talloc_asprintf(ctx, "%s/%"SPRIgid, NC_GID_PREFIX, gid);
if (!str) return ENOMEM;
ret = sss_ncache_set_str(ctx, str, permanent);