mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
5531d7fdc6
commit
ad4e4c676f
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue