aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2023-11-20 12:45:20 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2023-11-20 12:45:20 +0000
commit28b0625ef494b21510bbcf105b76cb54376d065d (patch)
tree2867a921a6118e8e274d3d51c749354b73b4e052
parente8c066197efa15ead2661e3c6ea1b4bb3188d6ab (diff)
downloadsg3_utils-28b0625ef494b21510bbcf105b76cb54376d065d.tar.gz
remove debug output left in sg_inq
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1062 6180dd3e-e324-4e3e-922d-17de1ae2f315
-rw-r--r--ChangeLog2
-rw-r--r--src/sg_inq.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 270d3c77..bb13f4e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,7 @@ Each utility has its own version number, date of last change and
some description at the top of its ".c" file. All utilities in the main
directory have their own "man" pages. There is also a sg3_utils man page.
-Changelog for pre-release sg3_utils-1.49 [20231119] [svn: r1061]
+Changelog for pre-release sg3_utils-1.49 [20231120] [svn: r1062]
- JSON: make output more consistent so most command
responses have a *_paramter_data or similar sub-object
- apply https://github.com/doug-gilbert/sg3_utils/pull/39
diff --git a/src/sg_inq.c b/src/sg_inq.c
index 6f71faea..fb62c705 100644
--- a/src/sg_inq.c
+++ b/src/sg_inq.c
@@ -53,7 +53,7 @@
#include "sg_vpd_common.h" /* for shared VPD page processing with sg_vpd */
-static const char * version_str = "2.52 20231019"; /* spc6r11, sbc5r04 */
+static const char * version_str = "2.53 20231120"; /* spc6r11, sbc5r04 */
#define MY_NAME "sg_inq"
@@ -4064,8 +4064,6 @@ show_nvme_id_ctrl(const uint8_t *dinp, struct opts_t * op, sgj_opaque_p jop)
snprintf(b, blen, "%.20s", (const char *)(dinp + 4));
sgj_haj_vs(jsp, jo2p, 2, "Serial number", SGJ_SEP_COLON_1_SPACE, b);
snprintf(bb, bblen, "%.8s", (const char *)(dinp + 64));
-hex2stderr((const uint8_t *)(dinp + 64), 8, 0);
-// xxxxxx
sgj_haj_vs(jsp, jo2p, 2, "Firmware revision", SGJ_SEP_COLON_1_SPACE,
sg_last_n_non_blank(bb, 4, b, blen));
ver = sg_get_unaligned_le32(dinp + 80);