diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-04-21 20:23:33 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-04-21 23:21:04 +0200 |
commit | e4ff03935c800b91e6919afef7515f318f9f697c (patch) | |
tree | 00cb680dfb86a4768ff8e02c65ebbf0abb3e0381 /src/libsystemd-network/sd-dhcp-lease.c | |
parent | core: automatically add udev dependency for units using RootImage= (diff) | |
download | systemd-e4ff03935c800b91e6919afef7515f318f9f697c.tar.xz systemd-e4ff03935c800b91e6919afef7515f318f9f697c.zip |
tree-wide: formatting tweaks reported by Coccinelle
Diffstat (limited to 'src/libsystemd-network/sd-dhcp-lease.c')
-rw-r--r-- | src/libsystemd-network/sd-dhcp-lease.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/sd-dhcp-lease.c b/src/libsystemd-network/sd-dhcp-lease.c index 5154af2304..57b412b6cd 100644 --- a/src/libsystemd-network/sd-dhcp-lease.c +++ b/src/libsystemd-network/sd-dhcp-lease.c @@ -141,8 +141,8 @@ int sd_dhcp_lease_get_servers( return (int) lease->smtp_server_size; default: - log_debug("Uknown DHCP lease info item %d.", what); - return -ENXIO; + return log_debug_errno(SYNTHETIC_ERRNO(ENXIO), + "Uknown DHCP lease info item %d.", what); } } |