From 3105737c4b38b3cb4f9408cfc82cf8b49bc3fb2e Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Wed, 24 Sep 2014 17:12:56 +1000 Subject: ctdb-logging: Change LogLevel to DEBUGLEVEL For compatibility with current Samba debug.[ch]. Signed-off-by: Martin Schwenke Reviewed-by: Volker Lendecke --- ctdb/ib/ibwrapper_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ctdb/ib') diff --git a/ctdb/ib/ibwrapper_test.c b/ctdb/ib/ibwrapper_test.c index 48162c328a..397fdf1af7 100644 --- a/ctdb/ib/ibwrapper_test.c +++ b/ctdb/ib/ibwrapper_test.c @@ -537,7 +537,7 @@ void ibwtest_usage(struct ibwtest_ctx *tcx, char *name) printf("\t-n number of messages to send [default %d]\n", tcx->nmsg); printf("\t-l usec time to sleep in the main loop [default %d]\n", tcx->sleep_usec); printf("\t-v max variable msg size in bytes [default %d], 0=don't send var. size\n", tcx->maxsize); - printf("\t-d LogLevel [default %d]\n", LogLevel); + printf("\t-d LogLevel [default %d]\n", DEBUGLEVEL); printf("Press ctrl+C to stop the program.\n"); } @@ -553,7 +553,7 @@ int main(int argc, char *argv[]) memset(tcx, 0, sizeof(struct ibwtest_ctx)); tcx->nsec = 0; tcx->nmsg = 1000; - LogLevel = 0; + DEBUGLEVEL = 0; /* here is the only case we can't avoid using global... */ testctx = tcx; @@ -592,7 +592,7 @@ int main(int argc, char *argv[]) tcx->maxsize = (unsigned int)atoi(optarg); break; case 'd': - LogLevel = atoi(optarg); + DEBUGLEVEL = atoi(optarg); break; default: fprintf(stderr, "ERROR: unknown option -%c\n", (char)op); -- cgit