diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2016-06-30 09:00:49 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2016-06-30 09:00:49 +0000 |
commit | d78ce9793c91e47a6f1542949d59d3e5be5e7a74 (patch) | |
tree | 0189c68d0c2360aa0225c3c81d760835f7f1299e /lib | |
parent | 65f07566fcf94c21318be746af31c63b4b0050f0 (diff) |
adapt S option: add C, rm F (not relevant with 0 cache and disables
chunk rnd), rm P: is default
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index a0b2a7df57a..678c782d200 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc.c,v 1.190 2016/06/28 06:40:11 tb Exp $ */ +/* $OpenBSD: malloc.c,v 1.191 2016/06/30 09:00:48 otto Exp $ */ /* * Copyright (c) 2008, 2010, 2011 Otto Moerbeek <otto@drijf.net> * Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org> @@ -617,12 +617,12 @@ omalloc_init(struct dir_info **dp) for (; p != NULL && *p != '\0'; p++) { switch (*p) { case 'S': - for (q = "FGJP"; *q != '\0'; q++) + for (q = "CGJ"; *q != '\0'; q++) omalloc_parseopt(*q); mopts.malloc_cache = 0; break; case 's': - for (q = "fgj"; *q != '\0'; q++) + for (q = "cgj"; *q != '\0'; q++) omalloc_parseopt(*q); mopts.malloc_cache = MALLOC_DEFAULT_CACHE; break; |