diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2021-12-04 00:11:48 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2021-12-04 00:11:48 +0000 |
commit | cee35c89cc98e880c7aa52e7b900363ae74e9653 (patch) | |
tree | daa47b944fc197ea8339167196c8017da48a413b /src | |
parent | 20315aa4fae1340e5d4b1faae15b90ee34b9ea50 (diff) | |
download | sg3_utils-cee35c89cc98e880c7aa52e7b900363ae74e9653.tar.gz |
sg_z_act_query: fix usage call
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@924 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src')
-rw-r--r-- | src/sg_z_act_query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_z_act_query.c b/src/sg_z_act_query.c index 5958f94a..a345b2e8 100644 --- a/src/sg_z_act_query.c +++ b/src/sg_z_act_query.c @@ -38,7 +38,7 @@ * command to the given SCSI device. Based on zbc2r12.pdf . */ -static const char * version_str = "1.01 20211117"; +static const char * version_str = "1.02 20211203"; #define SG_ZBC_IN_CMDLEN 16 #define Z_ACTIVATE_SA 0x8 @@ -526,7 +526,7 @@ main(int argc, char * argv[]) goto start_response; } else { pr2serr("missing device name!\n\n"); - usage(1); + usage(); ret = SG_LIB_FILE_ERROR; no_final_msg = true; goto the_end; |