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
#include "common/logging.h"
-#include <infiniband/kern-abi.h>
#include <rdma/rdma_cma_abi.h>
#include <rdma/rdma_cma.h>
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;
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);