udev: tiny update for log messages
This commit is contained in:
parent
f5c3892266
commit
6eee88577d
|
@ -744,7 +744,7 @@ int ethtool_set_glinksettings(
|
|||
else
|
||||
r = set_sset(*fd, &ifr, u);
|
||||
if (r < 0)
|
||||
return log_warning_errno(r, "ethtool: Cannot set device settings for %s : %m", ifname);
|
||||
return log_warning_errno(r, "ethtool: Cannot set device settings for %s: %m", ifname);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
|
|
@ -362,8 +362,8 @@ int link_config_apply(link_config_ctx *ctx, link_config *config,
|
|||
}
|
||||
}
|
||||
|
||||
if (config->duplex !=_DUP_INVALID)
|
||||
log_warning_errno(r, "Could not set duplex of %s to (%s): %m", old_name, duplex_to_string(config->duplex));
|
||||
if (config->duplex != _DUP_INVALID)
|
||||
log_warning_errno(r, "Could not set duplex of %s to %s: %m", old_name, duplex_to_string(config->duplex));
|
||||
}
|
||||
|
||||
r = ethtool_set_wol(&ctx->ethtool_fd, old_name, config->wol);
|
||||
|
|
Loading…
Reference in a new issue