]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: quieten virSCSIHostGetUniqueId
authorJán Tomko <jtomko@redhat.com>
Wed, 4 Nov 2020 11:29:07 +0000 (12:29 +0100)
committerJán Tomko <jtomko@redhat.com>
Fri, 6 Nov 2020 14:03:39 +0000 (15:03 +0100)
commit4a56278e770c972dbee7be5842b557de152a586e
treeecdc3b5d0b2bca0f35c9faf774e83ccafa29be6c
parent843b70995471c1a20822ee62ff084310066b4b4a
util: quieten virSCSIHostGetUniqueId

The only caller of this function ignores failure
and just sets the unique_id to -1.

Failing to read the file is likely to the device no longer
being present, not a real error.

Stop reporting errors in this function.

https://bugzilla.redhat.com/show_bug.cgi?id=1692100

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/util/virscsihost.c