diff options
author | Martin Schwenke <martin@meltin.net> | 2014-09-24 17:12:56 +1000 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2014-10-06 12:34:33 +0200 |
commit | 3105737c4b38b3cb4f9408cfc82cf8b49bc3fb2e (patch) | |
tree | 2df6b80e0b718f9dcbbdf9428652aa363855c8ae /ctdb/ib/ibwrapper_test.c | |
parent | 1c8c0be6f97f74169c0b46be4df2245aa631186a (diff) | |
download | samba-3105737c4b38b3cb4f9408cfc82cf8b49bc3fb2e.tar.gz samba-3105737c4b38b3cb4f9408cfc82cf8b49bc3fb2e.tar.xz samba-3105737c4b38b3cb4f9408cfc82cf8b49bc3fb2e.zip |
ctdb-logging: Change LogLevel to DEBUGLEVEL
For compatibility with current Samba debug.[ch].
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'ctdb/ib/ibwrapper_test.c')
-rw-r--r-- | ctdb/ib/ibwrapper_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |