libmnl [PATCH 4/8] document: mnl_socket_open
fix return value on error
Signed-off-by Ken-ichirou MATSUZAWA <[email protected]>
--- 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.4.rc3
Florian Westphal
maintainerQuoted 1 line · Ken-ichirou MATSUZAWA
fix return value on error
Patch is okay but I skipped this one since I had applied a identical patch from Shawn Landden. But I applied all other patches from this series.