summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-07 17:04:57 +0200
committerGitHub <noreply@github.com>2018-06-07 17:04:57 +0200
commit3ceca73a596ede7af516f6bbd65a10c413be1fd5 (patch)
treea19a51d33bc4668e928458e737fd49df18bf7d5d /src/network
parentMerge pull request #9165 from ssahani/networkd-netdevsim (diff)
parentupdate TODO (diff)
downloadsystemd-3ceca73a596ede7af516f6bbd65a10c413be1fd5.tar.xz
systemd-3ceca73a596ede7af516f6bbd65a10c413be1fd5.zip
Merge pull request #9200 from poettering/device-state-fix
core: rework device state serialization/enumeration
Diffstat (limited to 'src/network')
-rw-r--r--src/network/netdev/netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/netdev/netdev.c b/src/network/netdev/netdev.c
index da6a50c5a2..bff478f96a 100644
--- a/src/network/netdev/netdev.c
+++ b/src/network/netdev/netdev.c
@@ -245,7 +245,7 @@ static int netdev_enslave_ready(NetDev *netdev, Link* link, sd_netlink_message_h
r = sd_netlink_call_async(netdev->manager->rtnl, req, callback, link, 0, NULL);
if (r < 0)
- return log_netdev_error(netdev, "Could not send rtnetlink message: %m");
+ return log_netdev_error_errno(netdev, r, "Could not send rtnetlink message: %m");
link_ref(link);