diff options
-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) { |