fritjof
Index: xmalloc.c =================================================================== RCS file: /cvs/src/usr.bin/rcs/xmalloc.c,v retrieving revision 1.6 diff -u -p -r1.6 xmalloc.c --- xmalloc.c 1 Dec 2014 21:58:46 -0000 1.6 +++ xmalloc.c 1 Dec 2014 23:59:50 -0000 @@ -60,7 +60,7 @@ xreallocarray(void *ptr, size_t nmemb, s new_ptr = reallocarray(ptr, nmemb, size); if (new_ptr == NULL) - errx(1, "xrealloc: out of memory (new_size %zu bytes)", + errx(1, "xreallocarray: out of memory (new_size %zu bytes)", nmemb * size); return new_ptr; }
pgpWKr1YLtM1Z.pgp
Description: PGP signature