aboutsummaryrefslogtreecommitdiff
path: root/src/sg_z_act_query.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-07-29 15:09:18 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-07-29 15:09:18 +0000
commit640f7a7eff809159d9ac4c3ffc3681a6a5c3bede (patch)
treeb889f3d3a995b9ed8eed68a3bd83c75a484df174 /src/sg_z_act_query.c
parentaac31a343f55c0b40b7d46ba453201fff3430acb (diff)
downloadsg3_utils-640f7a7eff809159d9ac4c3ffc3681a6a5c3bede.tar.gz
cleanup warning and C++20 building issues
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@963 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_z_act_query.c')
-rw-r--r--src/sg_z_act_query.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sg_z_act_query.c b/src/sg_z_act_query.c
index cd347820..f0e0688f 100644
--- a/src/sg_z_act_query.c
+++ b/src/sg_z_act_query.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2021 Douglas Gilbert.
+ * Copyright (c) 2014-2022 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.
@@ -38,7 +38,7 @@
* command to the given SCSI device. Based on zbc2r12.pdf .
*/
-static const char * version_str = "1.03 20211217";
+static const char * version_str = "1.04 20220729";
#define SG_ZBC_IN_CMDLEN 16
#define Z_ACTIVATE_SA 0x8
@@ -556,8 +556,6 @@ main(int argc, char * argv[])
if (SG_LIB_CAT_INVALID_OP == res)
pr2serr("%s command not supported\n", sa_name);
else {
- char b[80];
-
sg_get_category_sense_str(res, sizeof(b), b, verbose);
pr2serr("%s command: %s\n", sa_name, b);
}