aboutsummaryrefslogtreecommitdiff
path: root/src/sg_sanitize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sg_sanitize.c')
-rw-r--r--src/sg_sanitize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sg_sanitize.c b/src/sg_sanitize.c
index 7370ab38..e4ca37f7 100644
--- a/src/sg_sanitize.c
+++ b/src/sg_sanitize.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2016 Douglas Gilbert.
+ * Copyright (c) 2011-2017 Douglas Gilbert.
* All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the BSD_LICENSE file.
@@ -28,7 +28,7 @@
#include "sg_unaligned.h"
#include "sg_pr2serr.h"
-static const char * version_str = "1.02 20160531";
+static const char * version_str = "1.03 20170917";
/* Not all environments support the Unix sleep() */
#if defined(MSC_VER) || defined(__MINGW32__)
@@ -224,7 +224,7 @@ do_sanitize(int sg_fd, const struct opts_t * op, const void * param_lstp,
set_scsi_pt_data_out(ptvp, (unsigned char *)param_lstp, param_lst_len);
res = do_scsi_pt(ptvp, sg_fd, timeout, op->verbose);
ret = sg_cmds_process_resp(ptvp, "Sanitize", res, 0, sense_b,
- 1 /*noisy */, op->verbose, &sense_cat);
+ true /*noisy */, op->verbose, &sense_cat);
if (-1 == ret)
;
else if (-2 == ret) {