diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-21 01:26:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-21 01:26:59 +0200 |
commit | 98b32556701f2cc80495488b5d724577637540f6 (patch) | |
tree | 7d77eb06c58e0cea5e2d6dd56f9a08743d5c563c /src/network/networkd-netdev.c | |
parent | aa5f6817bcb4cfea8708edf765358f4f507d5923 (diff) |
networkd: fix confusion between log_netdev_error() but log_warning_netdev()
We should always name the object first, the level second, like
everywhere else in the sources.
Diffstat (limited to 'src/network/networkd-netdev.c')
-rw-r--r-- | src/network/networkd-netdev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c index e98040d6ec..8456bf5f12 100644 --- a/src/network/networkd-netdev.c +++ b/src/network/networkd-netdev.c @@ -234,7 +234,7 @@ static int netdev_enter_ready(NetDev *netdev) { netdev->state = NETDEV_STATE_READY; - log_info_netdev(netdev, "netdev ready"); + log_netdev_info(netdev, "netdev ready"); LIST_FOREACH_SAFE(callbacks, callback, callback_next, netdev->callbacks) { /* enslave the links that were attempted to be enslaved before the @@ -260,9 +260,9 @@ static int netdev_create_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userda r = sd_rtnl_message_get_errno(m); if (r == -EEXIST) - log_info_netdev(netdev, "netdev exists, using existing without changing its parameters"); + log_netdev_info(netdev, "netdev exists, using existing without changing its parameters"); else if (r < 0) { - log_warning_netdev(netdev, "netdev could not be created: %s", strerror(-r)); + log_netdev_warning(netdev, "netdev could not be created: %s", strerror(-r)); netdev_drop(netdev); return 1; |