treewide: correct argument comments for sd_netlink_call
This commit is contained in:
@@ -723,7 +723,7 @@ TEST(sock_diag_unix) {
|
||||
ASSERT_OK(sd_sock_diag_message_new_unix(nl, &message, st.st_ino, cookie, UDIAG_SHOW_RQLEN));
|
||||
|
||||
_cleanup_(sd_netlink_message_unrefp) sd_netlink_message *reply = NULL;
|
||||
r = sd_netlink_call(nl, message, /* usec= */ 0, &reply);
|
||||
r = sd_netlink_call(nl, message, /* timeout= */ 0, &reply);
|
||||
if (r == -ENOENT)
|
||||
return (void) log_tests_skipped("CONFIG_UNIX_DIAG disabled");
|
||||
ASSERT_OK(r);
|
||||
|
||||
@@ -738,7 +738,7 @@ static int userns_destroy_netif(sd_netlink **rtnl, const char *name) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
r = sd_netlink_call(*rtnl, m, /* timeout_usec= */ 0, /* ret= */ NULL);
|
||||
r = sd_netlink_call(*rtnl, m, /* timeout= */ 0, /* ret= */ NULL);
|
||||
if (ERRNO_IS_NEG_DEVICE_ABSENT(r)) /* Already gone? */
|
||||
return 0;
|
||||
if (r < 0)
|
||||
|
||||
@@ -510,7 +510,7 @@ int af_unix_get_qlen(int fd, uint32_t *ret) {
|
||||
return r;
|
||||
|
||||
_cleanup_(sd_netlink_message_unrefp) sd_netlink_message *reply = NULL;
|
||||
r = sd_netlink_call(nl, message, /* usec= */ 0, &reply);
|
||||
r = sd_netlink_call(nl, message, /* timeout= */ 0, &reply);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user