aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-11-13 02:01:31 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-11-13 02:01:31 +0000
commit06055a99dd188cda35a4802966656a5b3d3bb288 (patch)
tree207cdb23f8257e270a30143fde23d2033901581f
parentb556427c7bfe6c9da7e8669fc3501a6053879ec3 (diff)
downloadsg3_utils-06055a99dd188cda35a4802966656a5b3d3bb288.tar.gz
sg_logs: fix clang compile warning
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@983 6180dd3e-e324-4e3e-922d-17de1ae2f315
-rw-r--r--ChangeLog2
-rw-r--r--debian/changelog2
-rw-r--r--sg3_utils.spec2
-rw-r--r--src/sg_logs.c4
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 <dgilbert@interlog.com> Mon, 07 Nov 2022 15:00:00 -0500
+ -- Douglas Gilbert <dgilbert@interlog.com> 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