mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-ib: Fix build errors for infiniband transport
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Wed Nov 13 13:31:10 UTC 2019 on sn-devel-184
This commit is contained in:
parent
86e418f992
commit
816205027a
@ -32,7 +32,6 @@
|
||||
|
||||
#include "common/logging.h"
|
||||
|
||||
#include <infiniband/kern-abi.h>
|
||||
#include <rdma/rdma_cma_abi.h>
|
||||
#include <rdma/rdma_cma.h>
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user