1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* malloc/malloc.c (_int_realloc): Make error message clearer.
This commit is contained in:
Ulrich Drepper
2005-09-27 01:55:24 +00:00
parent b5d839c996
commit 4b04154dcd
2 changed files with 4 additions and 1 deletions

View File

@ -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;
}