tools/libs/light: don't set errno to a negative value
authorJuergen Gross <jgross@suse.com>
Tue, 7 Jun 2022 12:01:44 +0000 (14:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jun 2022 12:01:44 +0000 (14:01 +0200)
commit15391de8e2bb6153eadd483154c53044ab53d98d
tree35908ead4e4b46c00738534132fcf98815f39cd1
parenta2cf30eec08db5df974a9e8bb7366fee8fc7fcd9
tools/libs/light: don't set errno to a negative value

Setting errno to a negative value makes no sense.

Fixes: e78e8b9bb649 ("libxl: Add interface for querying hypervisor about PCI topology")
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 2419a159fb943c24a6f2439604b9fdb1478fcd08
master date: 2022-04-22 20:39:34 +0100
tools/libs/light/libxl_linux.c