mirror of
https://github.com/systemd/systemd
synced 2024-10-14 12:04:49 +00:00
commit
cfa0537cc3
|
@ -52,7 +52,7 @@ static int broadcast_groups_get(sd_netlink *nl) {
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
assert(nl);
|
assert(nl);
|
||||||
assert(nl->fd > 0);
|
assert(nl->fd >= 0);
|
||||||
|
|
||||||
r = getsockopt(nl->fd, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, NULL, &len);
|
r = getsockopt(nl->fd, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, NULL, &len);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
|
|
Loading…
Reference in a new issue