aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_cmds_extra.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 /lib/sg_cmds_extra.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 'lib/sg_cmds_extra.c')
-rw-r--r--lib/sg_cmds_extra.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sg_cmds_extra.c b/lib/sg_cmds_extra.c
index b606b495..fdeb1829 100644
--- a/lib/sg_cmds_extra.c
+++ b/lib/sg_cmds_extra.c
@@ -827,8 +827,8 @@ sg_ll_set_id_info(int sg_fd, int itype, void * paramp, int param_len,
/* Invokes a FORMAT UNIT (SBC-3) command. Return of 0 -> success,
* various SG_LIB_CAT_* positive values or -1 -> other errors */
int
-sg_ll_format_unit(int sg_fd, int fmtpinfo, int longlist, int fmtdata,
- int cmplst, int dlist_format, int timeout_secs,
+sg_ll_format_unit(int sg_fd, int fmtpinfo, bool longlist, bool fmtdata,
+ bool cmplst, int dlist_format, int timeout_secs,
void * paramp, int param_len, bool noisy, int verbose)
{
return sg_ll_format_unit2(sg_fd, fmtpinfo, longlist, fmtdata, cmplst,
@@ -840,8 +840,8 @@ sg_ll_format_unit(int sg_fd, int fmtpinfo, int longlist, int fmtdata,
* various SG_LIB_CAT_* positive values or -1 -> other errors.
* FFMT field added in sbc4r10 [20160121] */
int
-sg_ll_format_unit2(int sg_fd, int fmtpinfo, int longlist, int fmtdata,
- int cmplst, int dlist_format, int ffmt, int timeout_secs,
+sg_ll_format_unit2(int sg_fd, int fmtpinfo, bool longlist, bool fmtdata,
+ bool cmplst, int dlist_format, int ffmt, int timeout_secs,
void * paramp, int param_len, bool noisy, int verbose)
{
static const char * const cdb_name_s = "format unit";