diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2017-09-18 19:15:01 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2017-09-18 19:15:01 +0000 |
commit | 3c285acb6d8f2bf346f50ee4e3ebe878e07e2c33 (patch) | |
tree | 645885630ab780e2371bc219ba9ee843f18c421b /src/sg_sanitize.c | |
parent | 3e3bb389c5718f595a07cd0a51ccd0162713f44f (diff) | |
download | sg3_utils-3c285acb6d8f2bf346f50ee4e3ebe878e07e2c33.tar.gz |
https://github.com/hreinecke/sg3_utils branch sles15 synced 20170914; change sg_ll_*() function's 'int noisy' to bool
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@715 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_sanitize.c')
-rw-r--r-- | src/sg_sanitize.c | 6 |
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) { |