changeset 23578:a4b29402f761

(Fsignal): Use a separate format string when passing error message string to fatal, in case it contains %'s.
author Andreas Schwab <schwab@suse.de>
date Fri, 30 Oct 1998 10:14:50 +0000
parents 36cccf1ba0a9
children 3d1bb0100afb
files src/eval.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c	Fri Oct 30 10:13:41 1998 +0000
+++ b/src/eval.c	Fri Oct 30 10:14:50 1998 +0000
@@ -1293,7 +1293,7 @@
     data = Fcons (error_symbol, data);
 
   string = Ferror_message_string (data);
-  fatal (XSTRING (string)->data, 0, 0);
+  fatal ("%s", XSTRING (string)->data, 0);
 }
 
 /* Return nonzero iff LIST is a non-nil atom or