summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-04-08 08:29:51 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-04-08 08:29:51 +0200
commita15ebe61c3a25c5097d1a320e3d8f47e4dba19f4 (patch)
treebb2b33d5c4d3aa389d996170326383b3834d56f3
parent9705dab835c618af26d86c59b49b59543aff2755 (diff)
downloadsamba-a15ebe61c3a25c5097d1a320e3d8f47e4dba19f4.tar.gz
samba-a15ebe61c3a25c5097d1a320e3d8f47e4dba19f4.tar.bz2
samba-a15ebe61c3a25c5097d1a320e3d8f47e4dba19f4.zip
ldb:ldb/common/ldb_modules.c - trivial - fix integer output specifiers
-rw-r--r--source4/lib/ldb/common/ldb_modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index 2e1aeb616b..93fd732e38 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -402,7 +402,7 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[])
if (res->count == 0) {
ldb_debug(ldb, LDB_DEBUG_TRACE, "no modules required by the db");
} else if (res->count > 1) {
- ldb_debug(ldb, LDB_DEBUG_FATAL, "Too many records found (%d), bailing out", res->count);
+ ldb_debug(ldb, LDB_DEBUG_FATAL, "Too many records found (%u), bailing out", res->count);
talloc_free(mem_ctx);
return LDB_ERR_OPERATIONS_ERROR;
} else {
@@ -783,7 +783,7 @@ int ldb_module_done(struct ldb_request *req,
if ((req->handle->ldb->flags & LDB_FLG_ENABLE_TRACING) &&
req->handle->nesting == 0) {
ldb_debug_add(req->handle->ldb, "ldb_trace_response: DONE\n");
- ldb_debug_add(req->handle->ldb, "error: %u\n", error);
+ ldb_debug_add(req->handle->ldb, "error: %d\n", error);
if (ldb_errstring(req->handle->ldb)) {
ldb_debug_add(req->handle->ldb, "msg: %s\n",
ldb_errstring(req->handle->ldb));