summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/netdev.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-07-16 07:48:08 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-07-16 17:40:09 +0200
commitd96edb2c6e7014e93e6713c79a698c91463c8929 (patch)
treeb54277e70a405ece6700db3c3199d6db04cca0aa /src/network/netdev/netdev.c
parentMerge pull request #16485 from bluca/nspawn_os_release_mounts (diff)
downloadsystemd-d96edb2c6e7014e93e6713c79a698c91463c8929.tar.xz
systemd-d96edb2c6e7014e93e6713c79a698c91463c8929.zip
network: downgrade log level in conf parsers
Diffstat (limited to 'src/network/netdev/netdev.c')
-rw-r--r--src/network/netdev/netdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/netdev/netdev.c b/src/network/netdev/netdev.c
index 350485d561..446a580e2c 100644
--- a/src/network/netdev/netdev.c
+++ b/src/network/netdev/netdev.c
@@ -137,12 +137,12 @@ int config_parse_netdev_kind(
k = netdev_kind_from_string(rvalue);
if (k < 0) {
- log_syntax(unit, LOG_ERR, filename, line, 0, "Failed to parse netdev kind, ignoring assignment: %s", rvalue);
+ log_syntax(unit, LOG_WARNING, filename, line, 0, "Failed to parse netdev kind, ignoring assignment: %s", rvalue);
return 0;
}
if (*kind != _NETDEV_KIND_INVALID && *kind != k) {
- log_syntax(unit, LOG_ERR, filename, line, 0,
+ log_syntax(unit, LOG_WARNING, filename, line, 0,
"Specified netdev kind is different from the previous value '%s', ignoring assignment: %s",
netdev_kind_to_string(*kind), rvalue);
return 0;