summaryrefslogtreecommitdiff
path: root/src/utilities/util_printlog.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-09-24 18:17:53 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-09-24 18:17:53 -0400
commit5ed3f85cc3f59c6cce8adb851909285c92ef3760 (patch)
tree82587cc80e1f2460b853dbd98ea1bad7a44f55d5 /src/utilities/util_printlog.c
parentcc74b07d6916c827015abf27bd09b28c38c98e69 (diff)
downloadmongo-5ed3f85cc3f59c6cce8adb851909285c92ef3760.tar.gz
Boolean conversion pass over utilities.
Diffstat (limited to 'src/utilities/util_printlog.c')
-rw-r--r--src/utilities/util_printlog.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utilities/util_printlog.c b/src/utilities/util_printlog.c
index 4ec2d0b7e1c..d202b09b228 100644
--- a/src/utilities/util_printlog.c
+++ b/src/utilities/util_printlog.c
@@ -14,9 +14,10 @@ int
util_printlog(WT_SESSION *session, int argc, char *argv[])
{
WT_DECL_RET;
- int ch, printable;
+ int ch;
+ bool printable;
- printable = 0;
+ printable = false;
while ((ch = __wt_getopt(progname, argc, argv, "f:p")) != EOF)
switch (ch) {
case 'f': /* output file */
@@ -27,7 +28,7 @@ util_printlog(WT_SESSION *session, int argc, char *argv[])
}
break;
case 'p':
- printable = 1;
+ printable = true;
break;
case '?':
default: