diff options
Diffstat (limited to 'src/fuzz/fuzz-calendarspec.c')
-rw-r--r-- | src/fuzz/fuzz-calendarspec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fuzz/fuzz-calendarspec.c b/src/fuzz/fuzz-calendarspec.c index 573a48a48b..b31a3f2b17 100644 --- a/src/fuzz/fuzz-calendarspec.c +++ b/src/fuzz/fuzz-calendarspec.c @@ -12,8 +12,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { _cleanup_free_ char *str = NULL; int r; - if (!getenv("SYSTEMD_LOG_LEVEL")) - log_set_max_level(LOG_CRIT); + fuzz_setup_logging(); assert_se(str = memdup_suffix0(data, size)); |