aboutsummaryrefslogtreecommitdiff
path: root/include/sg_cmds_extra.h
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2013-08-25 21:30:30 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2013-08-25 21:30:30 +0000
commit81882618383974e469d24d53fea9b48ffdc972d4 (patch)
tree0b48f9807c4582c86ba5be6460390c796e989b46 /include/sg_cmds_extra.h
parent7fcdff5b76190f43a549c038d846452057e5843a (diff)
downloadsg3_utils-81882618383974e469d24d53fea9b48ffdc972d4.tar.gz
SG_LIB_CAT_MISCOMPARE; changes to sg_verify and sg_compare_and_write
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@510 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include/sg_cmds_extra.h')
-rw-r--r--include/sg_cmds_extra.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sg_cmds_extra.h b/include/sg_cmds_extra.h
index b5cfe750..36f8e775 100644
--- a/include/sg_cmds_extra.h
+++ b/include/sg_cmds_extra.h
@@ -218,7 +218,7 @@ extern int sg_ll_unmap_v2(int sg_fd, int anchor, int group_num,
* SG_LIB_CAT_MEDIUM_HARD -> medium or hardware error, no valid info,
* SG_LIB_CAT_MEDIUM_HARD_WITH_INFO -> as previous, with valid info,
* SG_LIB_CAT_NOT_READY -> device not ready, SG_LIB_CAT_ABORTED_COMMAND,
- * -1 -> other failure */
+ * SG_LIB_CAT_MISCOMPARE, -1 -> other failure */
extern int sg_ll_verify10(int sg_fd, int vrprotect, int dpo, int bytechk,
unsigned int lba, int veri_len, void * data_out,
int data_out_len, unsigned int * infop, int noisy,
@@ -232,7 +232,7 @@ extern int sg_ll_verify10(int sg_fd, int vrprotect, int dpo, int bytechk,
* SG_LIB_CAT_MEDIUM_HARD -> medium or hardware error, no valid info,
* SG_LIB_CAT_MEDIUM_HARD_WITH_INFO -> as previous, with valid info,
* SG_LIB_CAT_NOT_READY -> device not ready, SG_LIB_CAT_ABORTED_COMMAND,
- * -1 -> other failure */
+ * SG_LIB_CAT_MISCOMPARE, -1 -> other failure */
extern int sg_ll_verify16(int sg_fd, int vrprotect, int dpo, int bytechk,
uint64_t llba, int veri_len, int group_num,
void * data_out, int data_out_len,