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/basic/calendarspec.c | |
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/basic/calendarspec.c')
-rw-r--r-- | src/basic/calendarspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/calendarspec.c b/src/basic/calendarspec.c index 4cf21100cc..f8c798f31f 100644 --- a/src/basic/calendarspec.c +++ b/src/basic/calendarspec.c @@ -937,7 +937,7 @@ int calendar_spec_from_string(const char *p, CalendarSpec **spec) { const char *last_space; last_space = strrchr(p, ' '); - if (last_space != NULL && timezone_is_valid(last_space + 1)) { + if (last_space != NULL && timezone_is_valid(last_space + 1, LOG_DEBUG)) { c->timezone = strdup(last_space + 1); if (!c->timezone) return -ENOMEM; |