From 06055a99dd188cda35a4802966656a5b3d3bb288 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Sun, 13 Nov 2022 02:01:31 +0000 Subject: sg_logs: fix clang compile warning git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@983 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- ChangeLog | 2 +- debian/changelog | 2 +- sg3_utils.spec | 2 +- src/sg_logs.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index e560c536..1adf83f8 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.48 [20221111] [svn: r982] +Changelog for pre-release sg3_utils-1.48 [20221112] [svn: r983] - some utilities: add experimental --json[=JO] option - sg_z_act_query: new utility for sending either a Zone activate or Zone query command diff --git a/debian/changelog b/debian/changelog index 8c2f410c..9ebae1eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ sg3-utils (1.48-0.1) unstable; urgency=low * New upstream version - -- Douglas Gilbert Mon, 07 Nov 2022 15:00:00 -0500 + -- Douglas Gilbert Sat, 12 Nov 2022 21:00:00 -0500 sg3-utils (1.47-0.1) unstable; urgency=low diff --git a/sg3_utils.spec b/sg3_utils.spec index c88a6d0f..3be40df4 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -83,7 +83,7 @@ fi %{_libdir}/*.a %changelog -* Mon Nov 07 2022 - dgilbert at interlog dot com +* Sat Nov 12 2022 - dgilbert at interlog dot com - track t10 changes * sg3_utils-1.48 diff --git a/src/sg_logs.c b/src/sg_logs.c index 29133cb1..ce6a7e98 100644 --- a/src/sg_logs.c +++ b/src/sg_logs.c @@ -37,7 +37,7 @@ #include "sg_unaligned.h" #include "sg_pr2serr.h" -static const char * version_str = "2.07 20221111"; /* spc6r06 + sbc5r03 */ +static const char * version_str = "2.08 20221112"; /* spc6r06 + sbc5r03 */ #define MY_NAME "sg_logs" @@ -4866,7 +4866,7 @@ show_sas_port_param(const uint8_t * bp, int param_len, struct opts_t * op, } else { cp = strchr(b, '\t'); if (cp) { - cp = '\0'; + *cp = '\0'; sgj_pr_hr(jsp, " %s\n", b); sgj_pr_hr(jsp, " %s\n", cp + 1); } else -- cgit v1.2.3