mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
network: wait-online - add a assert
This commit is contained in:
parent
3f70f938a0
commit
ee9ead76bb
@ -15,6 +15,7 @@ int link_new(Manager *m, Link **ret, int ifindex, const char *ifname) {
|
||||
|
||||
assert(m);
|
||||
assert(ifindex > 0);
|
||||
assert(ifname);
|
||||
|
||||
n = strdup(ifname);
|
||||
if (!n)
|
||||
|
Loading…
Reference in New Issue
Block a user