]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - xmalloc.c
Imported from ../bash-2.05b.tar.gz.
[thirdparty/bash.git] / xmalloc.c
index 2da8e70884bcfed629c922aa3a9c3ae489b116bb..c2011f9cc9af7bef7e24a71f1d5540a877027fcc 100644 (file)
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -112,7 +112,7 @@ xrealloc (pointer, bytes)
       allocated = findbrk ();
       fatal_error ("xrealloc: cannot reallocate %lu bytes (%lu bytes allocated)", (unsigned long)bytes, (unsigned long)allocated);
 #else
-      fatal_error ("xmalloc: cannot allocate %lu bytes", (unsigned long)bytes);
+      fatal_error ("xrealloc: cannot allocate %lu bytes", (unsigned long)bytes);
 #endif /* !HAVE_SBRK */
     }