diff options
Diffstat (limited to 'src/fuzz/fuzz-bootspec.c')
-rw-r--r-- | src/fuzz/fuzz-bootspec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fuzz/fuzz-bootspec.c b/src/fuzz/fuzz-bootspec.c index cea674c4c8..7a85787764 100644 --- a/src/fuzz/fuzz-bootspec.c +++ b/src/fuzz/fuzz-bootspec.c @@ -87,9 +87,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { if (outside_size_range(size, 0, 65536)) return 0; - /* Disable most logging if not running standalone */ - if (!getenv("SYSTEMD_LOG_LEVEL")) - log_set_max_level(LOG_CRIT); + fuzz_setup_logging(); assert_se(datadup = memdup_suffix0(data, size)); |