summaryrefslogtreecommitdiff
path: root/src/db
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/db
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/db')
-rw-r--r--src/db/sysdb_ops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
index 03f45de7..4e5451e3 100644
--- a/src/db/sysdb_ops.c
+++ b/src/db/sysdb_ops.c
@@ -1198,8 +1198,9 @@ int sysdb_add_user(struct sysdb_ctx *sysdb,
if (domain->id_max != 0 && uid != 0 &&
(uid < domain->id_min || uid > domain->id_max)) {
- DEBUG(2, ("Supplied uid [%d] is not in the allowed range [%d-%d].\n",
- uid, domain->id_min, domain->id_max));
+ DEBUG(SSSDBG_OP_FAILURE,
+ ("Supplied uid [%"SPRIuid"] is not in the allowed range "
+ "[%d-%d].\n", uid, domain->id_min, domain->id_max));
return ERANGE;
}