From dbf77b640516b7a412aed2597a15ec2ddf4c17b5 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 5 Dec 2007 00:56:11 +0100 Subject: r26299: Print out which module failed to initialise. Andrew Bartlett (This used to be commit 6628d9f843d773ec1a5841f793b16f76910c39c4) --- source4/lib/ldb/common/ldb_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c index d2e55c048e..82973a4149 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -281,7 +281,7 @@ int ldb_init_module_chain(struct ldb_context *ldb, struct ldb_module *module) if (module && module->ops->init_context && module->ops->init_context(module) != LDB_SUCCESS) { - ldb_debug(ldb, LDB_DEBUG_FATAL, "module initialization failed\n"); + ldb_debug(ldb, LDB_DEBUG_FATAL, "module %s initialization failed\n", module->ops->name); return LDB_ERR_OPERATIONS_ERROR; } -- cgit