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 /scripts | |
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 'scripts')
-rwxr-xr-x | scripts/rescan-scsi-bus.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/rescan-scsi-bus.sh b/scripts/rescan-scsi-bus.sh index 23eff3b0..e4eeef12 100755 --- a/scripts/rescan-scsi-bus.sh +++ b/scripts/rescan-scsi-bus.sh @@ -4,7 +4,7 @@ # (c) 2006--2022 Hannes Reinecke, GNU GPL v2 or later # $Id: rescan-scsi-bus.sh,v 1.57 2012/03/31 14:08:48 garloff Exp $ -VERSION="20220103" +VERSION="20220117" SCAN_WILD_CARD=4294967295 setcolor () @@ -1384,15 +1384,15 @@ fi echo "$found new or changed device(s) found. " if [ ! -z "$FOUNDDEVS" ] ; then - printf "%s" "$FOUNDDEVS" + echo -e "$FOUNDDEVS" fi echo "$updated remapped or resized device(s) found." if [ ! -z "$CHGDEVS" ] ; then - printf "%s" "$CHGDEVS" + echo -e "$CHGDEVS" fi echo "$rmvd device(s) removed. " if [ ! -z "$RMVDDEVS" ] ; then - printf "%s" "$RMVDDEVS" + echo -e "$RMVDDEVS" fi # Local Variables: |