diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2009-11-02 19:26:18 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2009-11-02 19:26:18 +0000 |
commit | 53a97c9ed1426a36558d3e0f3ee0e4237862e564 (patch) | |
tree | 138fa981a8f292ab8f34b58be52f271d2dffd80e /lib | |
parent | 18c50fe00196a870fbc097b3fe1e0c8e19df0ed8 (diff) |
permit -DMALLOC_STATS to compile again
noticed by Jonathan Armani & Fabien Romano
ugh+ok otto@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 9e58d2d964a..adcf00be565 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc.c,v 1.117 2009/10/20 21:19:37 pirofti Exp $ */ +/* $OpenBSD: malloc.c,v 1.118 2009/11/02 19:26:17 todd Exp $ */ /* * Copyright (c) 2008 Otto Moerbeek <otto@drijf.net> * @@ -1371,7 +1371,7 @@ orealloc(void *p, size_t newsz) if (rnewsz > roldsz) { if (!mopts.malloc_guard) { - STATS_INC(g_pool.cheap_realloc_tries); + STATS_INC(g_pool->cheap_realloc_tries); zapcacheregion(g_pool, p + roldsz); q = MMAPA(p + roldsz, rnewsz - roldsz); if (q == p + roldsz) { |