diff options
author | Mike Gilbert <floppym@gentoo.org> | 2018-05-12 21:20:13 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-05-12 21:20:13 +0200 |
commit | 089fb8653f70b1915ca9ab80ca0ebba1f0cd8185 (patch) | |
tree | 280c8acd30eabe0efe4a6b038e3c10860780a846 /src/network | |
parent | basic: timezone_is_valid: check for magic bytes "TZif" (diff) | |
download | systemd-089fb8653f70b1915ca9ab80ca0ebba1f0cd8185.tar.xz systemd-089fb8653f70b1915ca9ab80ca0ebba1f0cd8185.zip |
basic: add log_level argument to timezone_is_valid
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index daa30cb8f0..2b03fc254b 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -1012,7 +1012,7 @@ int config_parse_timezone( if (r < 0) return r; - if (!timezone_is_valid(tz)) { + if (!timezone_is_valid(tz, LOG_ERR)) { log_syntax(unit, LOG_ERR, filename, line, 0, "Timezone is not valid, ignoring assignment: %s", rvalue); free(tz); return 0; |