]> xenbits.xensource.com Git - xen.git/commit
tools/libs/guest: don't set errno to a negative value
authorJuergen Gross <jgross@suse.com>
Tue, 7 Jun 2022 12:01:27 +0000 (14:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jun 2022 12:01:27 +0000 (14:01 +0200)
commita2cf30eec08db5df974a9e8bb7366fee8fc7fcd9
tree4f0e31a8817596ad56d1f5834e7e1b1c43011147
parentba62afdbc31a8cfe897191efd25ed4449d9acd94
tools/libs/guest: don't set errno to a negative value

Setting errno to a negative error value makes no sense.

Fixes: cb99a64029c9 ("libxc: arm: allow passing a device tree blob to the guest")
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 438e96ab479495a932391a22e219ee62fa8c4f47
master date: 2022-04-22 20:39:34 +0100
tools/libs/guest/xg_dom_core.c