diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-09-04 16:52:34 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-11 19:44:56 +0200 |
commit | a4bf85ccc902490c3b75b44532010fbb32169801 (patch) | |
tree | 77321838168f69e052bb2e09ec2fba7024a3ae2a /src/db | |
parent | f2c346eaa486431ffa2a3adc05356159de834e2e (diff) | |
download | sssd-a4bf85ccc902490c3b75b44532010fbb32169801.tar.gz sssd-a4bf85ccc902490c3b75b44532010fbb32169801.tar.bz2 sssd-a4bf85ccc902490c3b75b44532010fbb32169801.zip |
Fix formating of variables with type: gid_t
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb_ops.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c index 4e5451e3..0197d8e0 100644 --- a/src/db/sysdb_ops.c +++ b/src/db/sysdb_ops.c @@ -1206,8 +1206,9 @@ int sysdb_add_user(struct sysdb_ctx *sysdb, if (domain->id_max != 0 && gid != 0 && (gid < domain->id_min || gid > domain->id_max)) { - DEBUG(2, ("Supplied gid [%d] is not in the allowed range [%d-%d].\n", - gid, domain->id_min, domain->id_max)); + DEBUG(SSSDBG_OP_FAILURE, + ("Supplied gid [%"SPRIgid"] is not in the allowed range " + "[%d-%d].\n", gid, domain->id_min, domain->id_max)); return ERANGE; } @@ -1391,8 +1392,9 @@ int sysdb_add_group(struct sysdb_ctx *sysdb, if (domain->id_max != 0 && gid != 0 && (gid < domain->id_min || gid > domain->id_max)) { - DEBUG(2, ("Supplied gid [%d] is not in the allowed range [%d-%d].\n", - gid, domain->id_min, domain->id_max)); + DEBUG(SSSDBG_OP_FAILURE, + ("Supplied gid [%"SPRIgid"] is not in the allowed range " + "[%d-%d].\n", gid, domain->id_min, domain->id_max)); return ERANGE; } |