X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxmalloc.c;h=e865827431f0839c7bb3220d292417aa0a01ec80;hb=d7fb9eaa2ff9627928550d5408a7032c1f50e861;hp=01ac54824815daf95d989a2b0ff3bfed5c6302bf;hpb=21e75a3758a09f92db813276fb7fd0db0e768f46;p=gnulib.git diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 01ac54824..e86582743 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -1,5 +1,5 @@ /* xmalloc.c -- malloc with out of memory checking - Copyright (C) 1990-1997, 98 Free Software Foundation, Inc. + Copyright (C) 1990-1997, 98, 99 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -70,7 +70,7 @@ xalloc_fail (void) { if (xalloc_fail_func) (*xalloc_fail_func) (); - error (xalloc_exit_failure, 0, xalloc_msg_memory_exhausted); + error (xalloc_exit_failure, 0, "%s", xalloc_msg_memory_exhausted); } /* Allocate N bytes of memory dynamically, with error checking. */