summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-17 12:41:33 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:54 +0200
commit0e65abe5cf2abf5d4b431cf6bd161b419f07901d (patch)
treeaf685729a48d4f1874113f25011484022337b13f /src/db
parent71e234151ddc6b50576364c30bda2b72264b1083 (diff)
downloadsssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.tar.gz
sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.tar.bz2
sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.zip
Fix formating of variables with type: size_t
Diffstat (limited to 'src/db')
-rw-r--r--src/db/sysdb_autofs.c2
-rw-r--r--src/db/sysdb_ops.c2
-rw-r--r--src/db/sysdb_search.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/db/sysdb_autofs.c b/src/db/sysdb_autofs.c
index cc44c350..cb968562 100644
--- a/src/db/sysdb_autofs.c
+++ b/src/db/sysdb_autofs.c
@@ -407,7 +407,7 @@ sysdb_autofs_entries_by_map(TALLOC_CTX *mem_ctx,
*_count = count;
*_entries = talloc_steal(mem_ctx, msgs);
ret = EOK;
- DEBUG(SSSDBG_TRACE_INTERNAL, ("found %d entries for map %s\n",
+ DEBUG(SSSDBG_TRACE_INTERNAL, ("found %zu entries for map %s\n",
count, mapname));
done:
talloc_free(tmp_ctx);
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
index d97c914c..03f45de7 100644
--- a/src/db/sysdb_ops.c
+++ b/src/db/sysdb_ops.c
@@ -175,7 +175,7 @@ int sysdb_delete_recursive(struct sysdb_ctx *sysdb,
goto done;
}
- DEBUG(9, ("Found [%d] items to delete.\n", msgs_count));
+ DEBUG(SSSDBG_TRACE_ALL, ("Found [%zu] items to delete.\n", msgs_count));
qsort(msgs, msgs_count,
sizeof(struct ldb_message *), compare_ldb_dn_comp_num);
diff --git a/src/db/sysdb_search.c b/src/db/sysdb_search.c
index d70d0cc3..8dfaf1f2 100644
--- a/src/db/sysdb_search.c
+++ b/src/db/sysdb_search.c
@@ -972,7 +972,7 @@ errno_t sysdb_get_direct_parents(TALLOC_CTX *mem_ctx,
}
direct_parents[pi] = NULL;
- DEBUG(7, ("%s is a member of %d sysdb groups\n",
+ DEBUG(SSSDBG_TRACE_LIBS, ("%s is a member of %zu sysdb groups\n",
name, direct_sysdb_count));
*_direct_parents = talloc_steal(mem_ctx, direct_parents);
ret = EOK;