From: Volker Lendecke Date: Mon, 27 Jan 2020 13:15:42 +0000 (+0100) Subject: dbwrap: Improve an error message X-Git-Tag: ldb-2.1.1~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e033dafd142e60c296872a8d7c2c8e80ef4c4ec0;p=thirdparty%2Fsamba.git dbwrap: Improve an error message Include the path where db_open() tried to find the ctdb socket Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/lib/dbwrap/dbwrap_open.c b/source3/lib/dbwrap/dbwrap_open.c index 20084bca471..eac52c5a431 100644 --- a/source3/lib/dbwrap/dbwrap_open.c +++ b/source3/lib/dbwrap/dbwrap_open.c @@ -131,8 +131,9 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx, sockname = lp_ctdbd_socket(); if (!socket_exist(sockname)) { - DEBUG(1, ("ctdb socket does not exist - is ctdb not " - "running?\n")); + DBG_WARNING("ctdb socket does %s not exist - " + "is ctdb not running?\n", + sockname); return NULL; }