summaryrefslogtreecommitdiff
path: root/src/network/netdev/xfrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/netdev/xfrm.c')
-rw-r--r--src/network/netdev/xfrm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/netdev/xfrm.c b/src/network/netdev/xfrm.c
index 4b7e73b37a..05844b8321 100644
--- a/src/network/netdev/xfrm.c
+++ b/src/network/netdev/xfrm.c
@@ -18,11 +18,11 @@ static int xfrm_fill_message_create(NetDev *netdev, Link *link, sd_netlink_messa
r = sd_netlink_message_append_u32(message, IFLA_XFRM_LINK, link ? link->ifindex : LOOPBACK_IFINDEX);
if (r < 0)
- return log_netdev_error_errno(netdev, r, "Could not append IFLA_XFRM_LINK: %m");
+ return r;
r = sd_netlink_message_append_u32(message, IFLA_XFRM_IF_ID, x->if_id);
if (r < 0)
- return log_netdev_error_errno(netdev, r, "Could not append IFLA_XFRM_IF_ID: %m");
+ return r;
return 0;
}