xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Vincent Bernardoff <vincent.bernardoff@citrix.com>
To: xen-devel@lists.xen.org
Cc: Vincent Bernardoff <vincent.bernardoff@citrix.com>
Subject: [PATCH xc_evtchn_open doc] xc_evtchn_open do not return -1 on error.
Date: Thu, 27 Jun 2013 13:01:53 +0100	[thread overview]
Message-ID: <1372334513-2258-1-git-send-email-vincent.bernardoff@citrix.com> (raw)

Signed-off-by: Vincent Bernardoff <vincent.bernardoff@citrix.com>
---
 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

             reply	other threads:[~2013-06-27 12:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 12:01 Vincent Bernardoff [this message]
2013-06-28 12:00 ` [PATCH xc_evtchn_open doc] xc_evtchn_open do not return -1 on error Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1372334513-2258-1-git-send-email-vincent.bernardoff@citrix.com \
    --to=vincent.bernardoff@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).