From 816205027a12d16b5de7c1fd78b4bed468a94fbb Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 12 Nov 2019 14:14:53 +1100 Subject: ctdb-ib: Fix build errors for infiniband transport Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke Autobuild-User(master): Martin Schwenke Autobuild-Date(master): Wed Nov 13 13:31:10 UTC 2019 on sn-devel-184 --- ctdb/ib/ibwrapper.c | 1 - ctdb/ib/ibwrapper_test.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'ctdb/ib') diff --git a/ctdb/ib/ibwrapper.c b/ctdb/ib/ibwrapper.c index 5ca3b946f00..cf4efa579e2 100644 --- a/ctdb/ib/ibwrapper.c +++ b/ctdb/ib/ibwrapper.c @@ -32,7 +32,6 @@ #include "common/logging.h" -#include #include #include diff --git a/ctdb/ib/ibwrapper_test.c b/ctdb/ib/ibwrapper_test.c index 5eb3209b68c..77a5323fbf1 100644 --- a/ctdb/ib/ibwrapper_test.c +++ b/ctdb/ib/ibwrapper_test.c @@ -551,7 +551,7 @@ int main(int argc, char *argv[]) memset(tcx, 0, sizeof(struct ibwtest_ctx)); tcx->nsec = 0; tcx->nmsg = 1000; - DEBUGLEVEL = 0; + debuglevel_set(0); /* here is the only case we can't avoid using global... */ testctx = tcx; @@ -590,7 +590,7 @@ int main(int argc, char *argv[]) tcx->maxsize = (unsigned int)atoi(optarg); break; case 'd': - DEBUGLEVEL = atoi(optarg); + debuglevel_set(atoi(optarg)); break; default: fprintf(stderr, "ERROR: unknown option -%c\n", (char)op); -- cgit v1.2.1