From 2f0091066623e39e379eba6dc12079da853ad83c Mon Sep 17 00:00:00 2001 From: Sher Sun Date: Tue, 30 Apr 2024 18:58:20 +0000 Subject: [PATCH] fix Signed-off-by: Sher Sun --- src/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.c b/src/server.c index eef241a3bd..6d4dc46fe4 100644 --- a/src/server.c +++ b/src/server.c @@ -5757,8 +5757,8 @@ sds genRedisInfoString(dict *section_dict, int all_sections, int everything) { "mem_overhead_db_hashtable_rehashing:%zu\r\n", mh->overhead_db_hashtable_rehashing, "active_defrag_running:%d\r\n", server.active_defrag_running, "lazyfree_pending_objects:%zu\r\n", lazyfreeGetPendingObjectsCount(), -#ifdef USE_JEMALLOC - "defrag_supported: %s\r\n", "yes", +#if defined(USE_JEMALLOC) + "defrag_supported: %s\r\n", "yes", #else "defrag_supported: %s\r\n", "no", #endif