From ad4e4c676fb5f41902ebb0ace8c55bd23c3550e4 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Mon, 23 Jan 2006 03:32:38 +0000 Subject: [PATCH] Make the 'C' and 'c' malloc options consistent with other options; 'C' doubles the cache size, and 'c' halves the cache size. --- lib/libc/stdlib/malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 9ad72850e52..14ae9f0c3eb 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -4365,12 +4365,12 @@ malloc_init_hard(void) opt_abort = true; break; case 'c': - opt_ndelay <<= 1; + opt_ndelay >>= 1; if (opt_ndelay == 0) opt_ndelay = 1; break; case 'C': - opt_ndelay >>= 1; + opt_ndelay <<= 1; if (opt_ndelay == 0) opt_ndelay = 1; break;