diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-28 00:42:35 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-28 02:18:46 +0100 |
commit | 6c861f0aeff9449ee1201bb56f89861921e41c45 (patch) | |
tree | 0ad90b640c3c00ece1f732d37532471697f7cf1d /src/network/networkd-dhcp4.c | |
parent | bca3e263cfc68f506bfbafb11680f35aa13c38a5 (diff) |
networkd: update logging macros for parameter order, and errno, to match rest of the code
Diffstat (limited to 'src/network/networkd-dhcp4.c')
-rw-r--r-- | src/network/networkd-dhcp4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c index 0a8c8ba8e4..ac59fd48c8 100644 --- a/src/network/networkd-dhcp4.c +++ b/src/network/networkd-dhcp4.c @@ -442,7 +442,7 @@ static int dhcp_lease_acquired(sd_dhcp_client *client, Link *link) { } if (r >= 0) - log_link_struct(LOG_INFO, link, + log_link_struct(link, LOG_INFO, "MESSAGE=%-*s: DHCPv4 address %u.%u.%u.%u/%u via %u.%u.%u.%u", IFNAMSIZ, link->ifname, @@ -457,7 +457,7 @@ static int dhcp_lease_acquired(sd_dhcp_client *client, Link *link) { ADDRESS_FMT_VAL(gateway), NULL); else - log_link_struct(LOG_INFO, link, + log_link_struct(link, LOG_INFO, "MESSAGE=%-*s: DHCPv4 address %u.%u.%u.%u/%u", IFNAMSIZ, link->ifname, |