Files
xen/tools/libxl
Ian Campbell 023c5c2aaa libxl: fixup error handling in libxl_send_trigger
xc_domain_send_trigger returns -1 and sets errno on failure so use
LIBXL__LOG_ERRNO not LIBXL__LOG_ERRNOVAL(rc).

Change the default case of the switch to set rc=-1,errno=EINVAL too.

Also we weren't actually returning the error code we'd decided on.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
2012-04-04 16:10:18 +01:00
..
2011-04-04 14:54:46 +01:00
2011-10-12 16:21:32 +01:00
2011-10-12 16:21:32 +01:00
2012-02-21 16:44:15 +00:00
2012-04-04 16:06:42 +01:00
2012-04-04 16:06:42 +01:00
2011-10-12 16:21:32 +01:00
2012-03-27 13:52:51 +01:00