return (void) log_debug_errno(r, "Failed to parse SYSTEMD_LUKS_LOCK_FD value: %m");
if (r > 0) {
if (taken_fd < 0)
- return (void) log_debug("Got notify message with SYSTEMD_LUKS_LOCK_FD=1 but no fd passed, ignoring: %m");
+ return (void) log_debug("Got notify message with SYSTEMD_LUKS_LOCK_FD=1 but no fd passed, ignoring.");
close_and_replace(h->luks_lock_fd, taken_fd);
home_maybe_close_luks_lock_fd(h, _HOME_STATE_INVALID);
} else {
if (taken_fd >= 0)
- return (void) log_debug("Got notify message with SYSTEMD_LUKS_LOCK_FD=0 but fd passed, ignoring: %m");
+ return (void) log_debug("Got notify message with SYSTEMD_LUKS_LOCK_FD=0 but fd passed, ignoring.");
h->luks_lock_fd = safe_close(h->luks_lock_fd);
}
case SD_IPV4LL_EVENT_BIND:
r = ipv4ll_address_claimed(ll, link);
if (r < 0) {
- log_link_error(link, "Failed to configure ipv4ll address: %m");
+ log_link_error_errno(link, r, "Failed to configure ipv4ll address: %m");
link_enter_failed(link);
return;
}
log_warning_errno(r, "rtnl: could not get NHA_ID attribute, ignoring: %m");
return 0;
} else if (id == 0) {
- log_warning("rtnl: received nexthop message with invalid nexthop ID, ignoring: %m");
+ log_warning("rtnl: received nexthop message with invalid nexthop ID, ignoring.");
return 0;
}
}
if (!streq(ifname, link->ifname)) {
- log_link_debug(link, "nl80211: received %s(%u) message with invalid interface name '%s', ignoring: %m",
+ log_link_debug(link, "nl80211: received %s(%u) message with invalid interface name '%s', ignoring.",
strna(nl80211_cmd_to_string(cmd)), cmd, ifname);
return 0;
}
}
if (r >= 0) {
if (len == 0) {
- log_link_debug(link, "nl80211: received SSID has zero length, ignoring it: %m");
+ log_link_debug(link, "nl80211: received SSID has zero length, ignoring it.");
ssid = mfree(ssid);
} else if (strlen_ptr(ssid) != len) {
log_link_debug(link, "nl80211: received SSID contains NUL characters, ignoring it.");
(void) wiphy_get_by_index(manager, index, &w);
switch (cmd) {
- case NL80211_CMD_NEW_WIPHY: {
-
+ case NL80211_CMD_NEW_WIPHY:
if (!w) {
r = wiphy_new(manager, message, &w);
if (r < 0) {
log_wiphy_warning_errno(w, r, "Failed to update wiphy, ignoring: %m");
break;
- }
- case NL80211_CMD_DEL_WIPHY:
+ case NL80211_CMD_DEL_WIPHY:
if (!w) {
- log_debug("The kernel removes wiphy we do not know, ignoring: %m");
+ log_debug("The kernel removed wiphy we do not know, ignoring.");
return 0;
}
break;
default:
- log_wiphy_debug(w, "nl80211: received %s(%u) message.",
+ log_wiphy_debug(w, "nl80211: received %s(%u) message, ignoring.",
strna(nl80211_cmd_to_string(cmd)), cmd);
}
continue;
}
if (!result.path) {
- log_debug("Found versioned directory '%s', without matching entry, skipping: %m", vp);
+ log_debug("Found versioned directory '%s', without matching entry, skipping.", vp);
continue;
}
continue;
}
if (!result.path) {
- log_debug("Found versioned directory '%s', without matching entry, skipping: %m", vp);
+ log_debug("Found versioned directory '%s', without matching entry, skipping.", vp);
continue;
}
return 0;
}
if (error <= 0) {
- log_debug("Received non-positive ERRNO= notification message, ignoring: %m");
+ log_debug("Received non-positive ERRNO= notification message, ignoring: %d", error);
return 0;
}
return 0;
}
if (n == 0) {
- log_link_warning(link, "No SR-IOV virtual function exists, ignoring all [SR-IOV] sections: %m");
+ log_link_warning(link, "No SR-IOV virtual functions exist, ignoring all [SR-IOV] sections.");
return 0;
}