treewide: correct argument comments for sd_netlink_call

This commit is contained in:
Jelle van der Waa
2025-06-04 13:32:24 +02:00
parent 1cce9d930a
commit 095031683f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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;