]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: fix logic error for scsi units
authorHan Han <hhan@redhat.com>
Wed, 4 Dec 2019 09:35:37 +0000 (17:35 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Dec 2019 12:20:57 +0000 (13:20 +0100)
commit0e37372291125f8253eedf06be6d56263180436a
tree191b3338a7df6e1a5abf510c38a960e6037c9f1d
parent1fbd80c42a6b96a92c0daec2c23cec4de6c43f64
conf: fix logic error for scsi units

Introduced in c8007fdc5d2, it should use 'greater than max' instead of
'equal or greater than max' for the condition of checking invalid scsi
unit.

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c