]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fsignal): Use a separate format string when passing
authorAndreas Schwab <schwab@suse.de>
Fri, 30 Oct 1998 10:14:50 +0000 (10:14 +0000)
committerAndreas Schwab <schwab@suse.de>
Fri, 30 Oct 1998 10:14:50 +0000 (10:14 +0000)
error message string to fatal, in case it contains %'s.

src/eval.c

index df7d28e802e558352be3ab966d385db99b274276..a933e05d4b97e1bcade9275b3ce3e2a9a2a98762 100644 (file)
@@ -1293,7 +1293,7 @@ See also the function `condition-case'.")
     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