diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-15 17:43:14 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-05-15 18:16:31 +0200 |
commit | 987efa17dd5c9be156d8f49ddd942df20a72dcb1 (patch) | |
tree | 4c60702429197f47c2abc98a0a317e43e6e79b73 /src/network/networkd-network.c | |
parent | 5261692fe5a4ac82f9783d57a07b0a4786dc01ab (diff) |
networkd: logging - align messages
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r-- | src/network/networkd-network.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index 91b1e3c7bd..76381c4f6c 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -20,6 +20,7 @@ ***/ #include <ctype.h> +#include <net/if.h> #include "networkd.h" #include "network-internal.h" @@ -220,7 +221,7 @@ int network_get(Manager *manager, struct udev_device *device, udev_device_get_property_value(device, "ID_NET_DRIVER"), udev_device_get_devtype(device), ifname)) { - log_debug("%s: found matching network '%s'", ifname, + log_debug("%*s: found matching network '%s'", IFNAMSIZ, ifname, network->filename); *ret = network; return 0; |