diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-03-30 17:49:57 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2018-03-30 17:49:57 +0000 |
commit | a66b91ad7e4878df47af0229b19d897bff3d47c8 (patch) | |
tree | cb376edc28d2dcb852aff6ead115c34e9d95c611 /src/sg_luns.c | |
parent | 382e35d67e18ba68f56c95b2a130d5467d2a2ccd (diff) | |
download | sg3_utils-a66b91ad7e4878df47af0229b19d897bff3d47c8.tar.gz |
sg_lib: add SG_LIB_LBA_OUT_OF_RANGE; sg_format: add --dry-run; sg_unmap: add --all=ST,RN[,LA] , --dry-run + --force
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@765 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_luns.c')
-rw-r--r-- | src/sg_luns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_luns.c b/src/sg_luns.c index 06722a20..20502ef5 100644 --- a/src/sg_luns.c +++ b/src/sg_luns.c @@ -31,7 +31,7 @@ * and decodes the response. */ -static const char * version_str = "1.37 20180219"; +static const char * version_str = "1.38 20180329"; #define MAX_RLUNS_BUFF_LEN (1024 * 1024) #define DEF_RLUNS_BUFF_LEN (1024 * 8) @@ -580,7 +580,7 @@ main(int argc, char * argv[]) pr2serr("in order to decode LUN and since --lu_cong not given, " "do standard\nINQUIRY to find LU_CONG bit\n"); /* check if LU_CONG set in standard INQUIRY response */ - res = sg_simple_inquiry(sg_fd, &sir, 0, verbose); + res = sg_simple_inquiry(sg_fd, &sir, false, verbose); ret = res; if (res) { pr2serr("fetching standard INQUIRY response failed\n"); |