aboutsummaryrefslogtreecommitdiff
path: root/src/sg_write_long.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2017-10-13 02:04:33 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2017-10-13 02:04:33 +0000
commit23712b6e6d5ee067cf7a740ef10e4dbea90dd179 (patch)
treec323728be100cf78adade4d95987826a5819fc7a /src/sg_write_long.c
parent2715125260da177d9869321027ef22a9f49fde1b (diff)
downloadsg3_utils-23712b6e6d5ee067cf7a740ef10e4dbea90dd179.tar.gz
further two valued ints converted to bool
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@721 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_write_long.c')
-rw-r--r--src/sg_write_long.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_write_long.c b/src/sg_write_long.c
index 7e95610e..63ca64bf 100644
--- a/src/sg_write_long.c
+++ b/src/sg_write_long.c
@@ -126,7 +126,7 @@ main(int argc, char * argv[])
switch (c) {
case 'c':
- cor_dis = 1;
+ cor_dis = true;
break;
case 'h':
case '?':
@@ -147,7 +147,7 @@ main(int argc, char * argv[])
pblock = true;
break;
case 'S':
- do_16 = 1;
+ do_16 = true;
break;
case 'v':
++verbose;