summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-09-04 16:28:06 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:55 +0200
commitf2c346eaa486431ffa2a3adc05356159de834e2e (patch)
tree93b45f3b4bec2200b921be536baab59856bb0435 /src/tools
parentaf58b15fa7f20e33736d79c6a4b3becb568517ca (diff)
downloadsssd-f2c346eaa486431ffa2a3adc05356159de834e2e.tar.gz
sssd-f2c346eaa486431ffa2a3adc05356159de834e2e.tar.bz2
sssd-f2c346eaa486431ffa2a3adc05356159de834e2e.zip
Fix formating of variables with type: uid_t
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_seed.c5
-rw-r--r--src/tools/tools_util.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/src/tools/sss_seed.c b/src/tools/sss_seed.c
index 75f7e8c5..78e02742 100644
--- a/src/tools/sss_seed.c
+++ b/src/tools/sss_seed.c
@@ -166,8 +166,9 @@ static int seed_id_input(const char *req,
return ret;
}
if (*endptr != '\0') {
- DEBUG(SSSDBG_MINOR_FAILURE, ("extra characters [%s] after "
- "ID [%d]\n", endptr, *_id_input));
+ DEBUG(SSSDBG_MINOR_FAILURE,
+ ("extra characters [%s] after ID [%"SPRIuid"]\n",
+ endptr, *_id_input));
}
} else {
ret = EINVAL;
diff --git a/src/tools/tools_util.c b/src/tools/tools_util.c
index 6798b658..0e1b3b40 100644
--- a/src/tools/tools_util.c
+++ b/src/tools/tools_util.c
@@ -360,7 +360,8 @@ static int remove_mail_spool(TALLOC_CTX *mem_ctx,
case 0:
break;
case -1:
- DEBUG(3, ("%s not owned by %d, not removing\n",
+ DEBUG(SSSDBG_MINOR_FAILURE,
+ ("%s not owned by %"SPRIuid", not removing\n",
spool_file, uid));
ret = EACCES;
/* FALLTHROUGH */