diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2014-09-22 02:43:43 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2014-09-22 02:43:43 +0000 |
commit | 3bb7224c7cc629054f3d1b1a1ea5d85433c620f4 (patch) | |
tree | 46027a0343938227afa791a1224cfee211f9359e /lib/sg_cmds_extra.c | |
parent | a93e55ea7300ce369fb36750f6526bdcedeea3e1 (diff) | |
download | sg3_utils-3bb7224c7cc629054f3d1b1a1ea5d85433c620f4.tar.gz |
sg_ll_unmap_v2(): fix group number; sg_ses: add --warn++; sg_senddiag: add --page=PG option
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@608 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'lib/sg_cmds_extra.c')
-rw-r--r-- | lib/sg_cmds_extra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sg_cmds_extra.c b/lib/sg_cmds_extra.c index 51257833..6afea698 100644 --- a/lib/sg_cmds_extra.c +++ b/lib/sg_cmds_extra.c @@ -1883,7 +1883,7 @@ sg_ll_unmap_v2(int sg_fd, int anchor, int group_num, int timeout_secs, if (anchor) uCmdBlk[1] |= 0x1; tmout = (timeout_secs > 0) ? timeout_secs : DEF_PT_TIMEOUT; - uCmdBlk[7] = group_num & 0x1f; + uCmdBlk[6] = group_num & 0x1f; uCmdBlk[7] = (param_len >> 8) & 0xff; uCmdBlk[8] = param_len & 0xff; if (NULL == sg_warnings_strm) |