summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShawn Landden <shawn@churchofgit.com>2013-12-04 11:06:28 -0800
committerFlorian Westphal <fw@strlen.de>2013-12-07 12:53:15 +0100
commit97d1ff851f00fb7caec35f51d43b1ea53e80d9f9 (patch)
treee74968c3d9ddc1e5c2db2a1711db5f4431c6f055 /src
parent006b3bb603ec2ba246c872c8b06ce43d2225dd63 (diff)
doc: mnl_socket_open returns NULL on error
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
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)