From c073723beb7ba328ede0aea80e2dadc849309599 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 8 Mar 1999 02:43:14 +0000 Subject: [PATCH] =?utf8?q?(xalloc=5Ffail):=20Use=20"%s"=20format=20so=20th?= =?utf8?q?e=20message=20doesn't=20have=20to=20be=20scanned=20for=20%=20sig?= =?utf8?q?ns.=20=20Suggestion=20from=20Fran=E7ois=20Pinard.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/xmalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 01ac548248..e865827431 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. */ -- 2.30.2