From 25dc3b07571469a5fb004aa817a3852ade2f840f Mon Sep 17 00:00:00 2001 From: Krunoslav Husak Date: Tue, 10 Jan 2023 15:06:24 +0100 Subject: [PATCH] Fixes typo (double word) in memory overcommit message (#11675) Fixes small typo in memory overcommit message in syscheck.c (double word can). --- src/syscheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syscheck.c b/src/syscheck.c index 41545f0c1d..82dbf0f0c2 100644 --- a/src/syscheck.c +++ b/src/syscheck.c @@ -154,7 +154,7 @@ int checkOvercommit(sds *error_msg) { *error_msg = sdsnew( "Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. " #if defined(USE_JEMALLOC) - "Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. " + "Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. " #endif "To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the " "command 'sysctl vm.overcommit_memory=1' for this to take effect.");