From a4bf85ccc902490c3b75b44532010fbb32169801 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 4 Sep 2013 16:52:34 +0200 Subject: Fix formating of variables with type: gid_t --- src/responder/common/negcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/responder/common') 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); -- cgit