diff options
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/common/negcache.c | 4 |
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); |