summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-07-30 18:16:09 +0200
committerTom Gundersen <teg@jklm.no>2014-07-30 18:35:53 +0200
commit6f4d55a8ae04e344a41fc2adef12ad99c2bb2927 (patch)
tree526e52fbcbd296f5ecdc71295d3b98a24c829ff8 /src/network
parentb85595b511d3d9f67940f7de0265fb78d672fe81 (diff)
networkd: improve error message when udev device can not be found
Reported by Raimonds Cicans <ray@apollo.lv>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index d633399890..ec1a97a7c9 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2146,7 +2146,7 @@ int link_add(Manager *m, sd_rtnl_message *message, Link **ret) {
sprintf(ifindex_str, "n%d", link->ifindex);
device = udev_device_new_from_device_id(m->udev, ifindex_str);
if (!device) {
- log_warning_link(link, "could not find udev device");
+ log_warning_link(link, "could not find udev device: %m");
return -errno;
}