diff options
author | Vincent Bernardoff <vincent.bernardoff@citrix.com> | 2013-06-27 13:01:53 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-06-28 12:33:02 +0100 |
commit | f02a88f607de9107eb03bfeeb4411801d7aab926 (patch) | |
tree | 2a9b65f039984cf05e25a149b139587a71e89eb3 /tools | |
parent | 49b55619e4923aa1a43b7c027dd3e352575e4e52 (diff) | |
download | xen-f02a88f607de9107eb03bfeeb4411801d7aab926.tar.gz xen-f02a88f607de9107eb03bfeeb4411801d7aab926.tar.bz2 xen-f02a88f607de9107eb03bfeeb4411801d7aab926.zip |
libxc: xc_evtchn_open does not return -1 on error.
Signed-off-by: Vincent Bernardoff <vincent.bernardoff@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libxc/xenctrl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h index 5697765a17..388a9c3d55 100644 --- a/tools/libxc/xenctrl.h +++ b/tools/libxc/xenctrl.h @@ -966,8 +966,8 @@ typedef struct evtchn_status xc_evtchn_status_t; int xc_evtchn_status(xc_interface *xch, xc_evtchn_status_t *status); /* - * Return a handle to the event channel driver, or -1 on failure, in which case - * errno will be set appropriately. + * Return a handle to the event channel driver, or NULL on failure, in + * which case errno will be set appropriately. * * Note: * After fork a child process must not use any opened xc evtchn |