libxc: xc_evtchn_open does not return -1 on error.
authorVincent Bernardoff <vincent.bernardoff@citrix.com>
Thu, 27 Jun 2013 12:01:53 +0000 (13:01 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 28 Jun 2013 11:33:02 +0000 (12:33 +0100)
Signed-off-by: Vincent Bernardoff <vincent.bernardoff@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xenctrl.h

index 5697765a17cfa2ce3259f6637843e434e8ef78e6..388a9c3d5558ecdc3cbf39e6830e5fcb236a85a6 100644 (file)
@@ -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