diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-09-27 01:55:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-09-27 01:55:24 +0000 |
commit | 4b04154dcdf41d950646e4b7babcc38761c2b9e4 (patch) | |
tree | ff82b56cead1a90fa8fcf04bf5784a9947f0ac52 /malloc | |
parent | b5d839c996d7236ed5788296b4d723e67ec4fdb8 (diff) | |
download | glibc-4b04154dcdf41d950646e4b7babcc38761c2b9e4.zip glibc-4b04154dcdf41d950646e4b7babcc38761c2b9e4.tar.gz glibc-4b04154dcdf41d950646e4b7babcc38761c2b9e4.tar.bz2 |
[BZ #786]
* malloc/malloc.c (_int_realloc): Make error message clearer.
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 64050b4..594d9c4 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; } |