libmnl: docs were wrong
PATCH 1/1 libmnl: docs were wrong
--- src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/socket.c +1 -1
@@ -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)
Signature · 1 line
1.8.5.1
Quoted 2 lines · Shawn Landden
src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied.