network: log_link_message_debug_errno() automatically append %m if necessary

Follow-up for d28746ef55.
Fixes CID#1609753.
This commit is contained in:
Yu Watanabe
2025-05-08 02:21:59 +09:00
parent ecad362d7e
commit f24f70343d

View File

@@ -154,7 +154,7 @@ static int link_set_mac_allow_retry_handler(sd_netlink *rtnl, sd_netlink_message
* operstate is not down. See, eth_prepare_mac_addr_change() in net/ethernet/eth.c
* of kernel. */
log_link_message_debug_errno(link, m, r, "Failed to set MAC address, retrying again: %m");
log_link_message_debug_errno(link, m, r, "Failed to set MAC address, retrying again");
r = link_request_to_set_mac(link, /* allow_retry = */ false);
if (r < 0)