summaryrefslogtreecommitdiff
path: root/src/network/networkctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkctl.c')
-rw-r--r--src/network/networkctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkctl.c b/src/network/networkctl.c
index 035dce162b..c0cbbe0647 100644
--- a/src/network/networkctl.c
+++ b/src/network/networkctl.c
@@ -195,7 +195,7 @@ static int list_links(char **args, unsigned n) {
udev = udev_new();
if (!udev) {
- log_error("Failed to connect to udev: %m");
+ log_error_errno(errno, "Failed to connect to udev: %m");
return -errno;
}
@@ -446,7 +446,7 @@ static int link_status(char **args, unsigned n) {
udev = udev_new();
if (!udev) {
- log_error("Failed to connect to udev: %m");
+ log_error_errno(errno, "Failed to connect to udev: %m");
return -errno;
}