From f38d4e8c8cc6cf67f9d5f2ea32091fa452642b1c Mon Sep 17 00:00:00 2001 From: hwware Date: Sun, 2 Feb 2020 22:58:38 -0500 Subject: [PATCH] fix typo in evict.c --- src/evict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evict.c b/src/evict.c index 71260c04017b..15d81320f5cc 100644 --- a/src/evict.c +++ b/src/evict.c @@ -41,7 +41,7 @@ /* To improve the quality of the LRU approximation we take a set of keys * that are good candidate for eviction across freeMemoryIfNeeded() calls. * - * Entries inside the eviciton pool are taken ordered by idle time, putting + * Entries inside the eviction pool are taken ordered by idle time, putting * greater idle times to the right (ascending order). * * When an LFU policy is used instead, a reverse frequency indication is used @@ -441,7 +441,7 @@ int getMaxmemoryState(size_t *total, size_t *logical, size_t *tofree, float *lev * * The function returns C_OK if we are under the memory limit or if we * were over the limit, but the attempt to free memory was successful. - * Otehrwise if we are over the memory limit, but not enough memory + * Otherwise if we are over the memory limit, but not enough memory * was freed to return back under the limit, the function returns C_ERR. */ int freeMemoryIfNeeded(void) { int keys_freed = 0;