diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-15 17:49:53 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-16 18:42:23 +0900 |
commit | 8190a388a6c6755893b818b2e57289b22d3090f8 (patch) | |
tree | 5235c00c78e1cc40e30ebd14a7acd5f903f4c6b8 /src/network/networkd-route.c | |
parent | sd-netlink: add functions which manage sd_netlink_slot object (diff) | |
download | systemd-8190a388a6c6755893b818b2e57289b22d3090f8.tar.gz systemd-8190a388a6c6755893b818b2e57289b22d3090f8.tar.bz2 systemd-8190a388a6c6755893b818b2e57289b22d3090f8.zip |
sd-netlink: make sd_netlink_slot take its description
Diffstat (limited to 'src/network/networkd-route.c')
-rw-r--r-- | src/network/networkd-route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c index 591fae6e7..33389676c 100644 --- a/src/network/networkd-route.c +++ b/src/network/networkd-route.c @@ -440,7 +440,7 @@ int route_remove(Route *route, Link *link, } r = sd_netlink_call_async(link->manager->rtnl, NULL, req, callback, - link_netlink_destroy_callback, link, 0); + link_netlink_destroy_callback, link, 0, __func__); if (r < 0) return log_error_errno(r, "Could not send rtnetlink message: %m"); @@ -621,7 +621,7 @@ int route_configure( return log_error_errno(r, "Could not append RTA_METRICS attribute: %m"); r = sd_netlink_call_async(link->manager->rtnl, NULL, req, callback, - link_netlink_destroy_callback, link, 0); + link_netlink_destroy_callback, link, 0, __func__); if (r < 0) return log_error_errno(r, "Could not send rtnetlink message: %m"); |