diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-01-19 19:12:36 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-01-19 19:12:36 +0000 |
commit | 84c586f1f1d8bd102928f3ae95d1d1185a59de8f (patch) | |
tree | 4e078230ad1395e3524357e64abf506e35f5acb8 /src/sg_seek.c | |
parent | 31de60f68ae11ed1ad16510e0e86b5603f93bda3 (diff) | |
download | sg3_utils-84c586f1f1d8bd102928f3ae95d1d1185a59de8f.tar.gz |
round of coverity identified issue fixes (and non-issues)
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@931 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_seek.c')
-rw-r--r-- | src/sg_seek.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sg_seek.c b/src/sg_seek.c index f99c1f0f..fb647639 100644 --- a/src/sg_seek.c +++ b/src/sg_seek.c @@ -418,9 +418,9 @@ fini: } } if (0 == verbose) { - const char * e_str = (SG_LIB_CAT_CONDITION_MET == ret) ? - "sg_seek: " : "sg_seek: failed"; - + const char * e_str = (SG_LIB_CAT_CONDITION_MET == ret) ? + "sg_seek: " : "sg_seek: failed"; + if (! sg_if_can2stderr(e_str, ret)) pr2serr("Some error occurred, try again with '-v' " "or '-vv' for more information\n"); |