mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-08-31 09:50:11 +03:00
network: wait-online - add a assert
This commit is contained in:
@ -15,6 +15,7 @@ int link_new(Manager *m, Link **ret, int ifindex, const char *ifname) {
|
|||||||
|
|
||||||
assert(m);
|
assert(m);
|
||||||
assert(ifindex > 0);
|
assert(ifindex > 0);
|
||||||
|
assert(ifname);
|
||||||
|
|
||||||
n = strdup(ifname);
|
n = strdup(ifname);
|
||||||
if (!n)
|
if (!n)
|
||||||
|
Reference in New Issue
Block a user