diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-09-04 16:28:06 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-11 19:44:55 +0200 |
commit | f2c346eaa486431ffa2a3adc05356159de834e2e (patch) | |
tree | 93b45f3b4bec2200b921be536baab59856bb0435 /src/responder/common/negcache.c | |
parent | af58b15fa7f20e33736d79c6a4b3becb568517ca (diff) | |
download | sssd-f2c346eaa486431ffa2a3adc05356159de834e2e.tar.gz sssd-f2c346eaa486431ffa2a3adc05356159de834e2e.tar.bz2 sssd-f2c346eaa486431ffa2a3adc05356159de834e2e.zip |
Fix formating of variables with type: uid_t
Diffstat (limited to 'src/responder/common/negcache.c')
-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 76934637..a1f44789 100644 --- a/src/responder/common/negcache.c +++ b/src/responder/common/negcache.c @@ -379,7 +379,7 @@ int sss_ncache_check_uid(struct sss_nc_ctx *ctx, int ttl, uid_t uid) char *str; int ret; - str = talloc_asprintf(ctx, "%s/%u", NC_UID_PREFIX, uid); + str = talloc_asprintf(ctx, "%s/%"SPRIuid, NC_UID_PREFIX, uid); if (!str) return ENOMEM; ret = sss_ncache_check_str(ctx, str, ttl); @@ -510,7 +510,7 @@ int sss_ncache_set_uid(struct sss_nc_ctx *ctx, bool permanent, uid_t uid) char *str; int ret; - str = talloc_asprintf(ctx, "%s/%u", NC_UID_PREFIX, uid); + str = talloc_asprintf(ctx, "%s/%"SPRIuid, NC_UID_PREFIX, uid); if (!str) return ENOMEM; ret = sss_ncache_set_str(ctx, str, permanent); |