Make the 'C' and 'c' malloc options consistent with other options; 'C'

doubles the cache size, and 'c' halves the cache size.
This commit is contained in:
Jason Evans 2006-01-23 03:32:38 +00:00
parent 5531d7fdc6
commit ad4e4c676f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154700

View file

@ -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;