summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2016-01-22 16:02:41 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2016-01-22 16:02:41 +1100
commitb3c476ccdd30aeb1a9dea27a68b7a2dd528944b9 (patch)
treeca052d8ae0630402dccd2ff59e1ac442b39ebf33
parentd77c7fd4b2d67160ff0fc56d5459674fec7a1b73 (diff)
downloadmongo-b3c476ccdd30aeb1a9dea27a68b7a2dd528944b9.tar.gz
Fixup build warnings.
-rw-r--r--bench/wtperf/wtperf.c2
-rw-r--r--bench/wtperf/wtperf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/bench/wtperf/wtperf.c b/bench/wtperf/wtperf.c
index cef3138b865..15132249883 100644
--- a/bench/wtperf/wtperf.c
+++ b/bench/wtperf/wtperf.c
@@ -58,7 +58,7 @@ static const CONFIG default_cfg = {
0, /* notify threads to stop */
0, /* in warmup phase */
NULL, /* Thread ID of idle cycle thread */
- 0, /* Signal idle cycle thread */
+ false, /* Signal for idle cycle thread */
0, /* total seconds running */
0, /* has truncate */
{NULL, NULL}, /* the truncate queue */
diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h
index ad71877fdcf..28d359dd8ef 100644
--- a/bench/wtperf/wtperf.h
+++ b/bench/wtperf/wtperf.h
@@ -188,7 +188,7 @@ struct __config { /* Configuration structure */
volatile int in_warmup; /* Running warmup phase */
pthread_t idle_table_cycle_thread; /* Thread ID of idle cycle thread */
- volatile bool idle_cycle_run; /* Signal idle cycle thread */
+ volatile bool idle_cycle_run; /* Signal for idle cycle thread */
volatile uint32_t totalsec; /* total seconds running */