From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Bernardoff Subject: [PATCH xc_evtchn_open doc] xc_evtchn_open do not return -1 on error. Date: Thu, 27 Jun 2013 13:01:53 +0100 Message-ID: <1372334513-2258-1-git-send-email-vincent.bernardoff@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Vincent Bernardoff List-Id: xen-devel@lists.xenproject.org Signed-off-by: Vincent Bernardoff --- tools/libxc/xenctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h index 5697765..388a9c3 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 -- 1.8.3.1