mbox series

[0/4] tools/libs: don't set errno to negative values

Message ID 20220420073119.16974-1-jgross@suse.com (mailing list archive)
Headers show
Series tools/libs: don't set errno to negative values | expand

Message

Jürgen Groß April 20, 2022, 7:31 a.m. UTC
There are a few places in the libs where errno is set to a negative
value. Fix those.

Juergen Gross (4):
  tools/libs/evtchn: don't set errno to negative values
  tools/libs/ctrl: don't set errno to a negative value
  tools/libs/guest: don't set errno to a negative value
  tools/libs/light: don't set errno to a negative value

 tools/libs/ctrl/xc_domain.c    | 4 +---
 tools/libs/evtchn/freebsd.c    | 2 +-
 tools/libs/evtchn/minios.c     | 2 +-
 tools/libs/evtchn/netbsd.c     | 2 +-
 tools/libs/evtchn/solaris.c    | 2 +-
 tools/libs/guest/xg_dom_core.c | 2 +-
 tools/libs/light/libxl_linux.c | 2 +-
 7 files changed, 7 insertions(+), 9 deletions(-)