From 4b04154dcdf41d950646e4b7babcc38761c2b9e4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Sep 2005 01:55:24 +0000 Subject: [BZ #786] * malloc/malloc.c (_int_realloc): Make error message clearer. --- malloc/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'malloc') diff --git a/malloc/malloc.c b/malloc/malloc.c index 64050b4266..594d9c4d7a 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -4618,7 +4618,7 @@ _int_realloc(mstate av, Void_t* oldmem, size_t bytes) if (__builtin_expect (oldp->size <= 2 * SIZE_SZ, 0) || __builtin_expect (oldsize >= av->system_mem, 0)) { - errstr = "realloc(): invalid size"; + errstr = "realloc(): invalid old size"; goto errout; } -- cgit 1.4.1