summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-05-12 21:20:13 +0200
committerMike Gilbert <floppym@gentoo.org>2018-05-12 21:20:13 +0200
commit089fb8653f70b1915ca9ab80ca0ebba1f0cd8185 (patch)
tree280c8acd30eabe0efe4a6b038e3c10860780a846 /src/network
parentbasic: timezone_is_valid: check for magic bytes "TZif" (diff)
downloadsystemd-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.c2
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;