1
1
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:
Susant Sahani 2021-01-18 13:10:18 +01:00
parent 3f70f938a0
commit ee9ead76bb

View File

@ -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)