netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Landden <shawn@churchofgit.com>
To: netfilter-devel@vger.kernel.org
Cc: Shawn Landden <shawn@churchofgit.com>
Subject: [PATCH] libmnl: docs were wrong
Date: Wed,  4 Dec 2013 11:06:28 -0800	[thread overview]
Message-ID: <1386183988-66330-1-git-send-email-shawn@churchofgit.com> (raw)

---
 src/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/socket.c b/src/socket.c
index 6d54563..676a08a 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -107,7 +107,7 @@ EXPORT_SYMBOL(mnl_socket_get_portid);
  * mnl_socket_open - open a netlink socket
  * \param bus the netlink socket bus ID (see NETLINK_* constants)
  *
- * On error, it returns -1 and errno is appropriately set. Otherwise, it
+ * On error, it returns NULL and errno is appropriately set. Otherwise, it
  * returns a valid pointer to the mnl_socket structure.
  */
 struct mnl_socket *mnl_socket_open(int bus)
-- 
1.8.5.1


             reply	other threads:[~2013-12-04 19:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04 19:06 Shawn Landden [this message]
2013-12-07 12:07 ` [PATCH] libmnl: docs were wrong Florian Westphal

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=1386183988-66330-1-git-send-email-shawn@churchofgit.com \
    --to=shawn@churchofgit.com \
    --cc=netfilter-devel@vger.kernel.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).