From 78e9bb837c258ac0ec7712b3d612cc2f407e731e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:42 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- src/fuzz/fuzz.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fuzz') diff --git a/src/fuzz/fuzz.h b/src/fuzz/fuzz.h index 698ba42..123e88e 100644 --- a/src/fuzz/fuzz.h +++ b/src/fuzz/fuzz.h @@ -31,9 +31,9 @@ static inline bool outside_size_range(size_t size, size_t lower, size_t upper) { static inline void fuzz_setup_logging(void) { /* We don't want to fill the logs and slow down stuff when running * in a fuzzing mode, so disable most of the logging. */ + log_set_assert_return_is_critical(true); log_set_max_level(LOG_CRIT); - log_parse_environment(); - log_open(); + log_setup(); } /* Force value to not be optimized away. */ -- cgit v1.2.3