From 33dacadbfb9adcb36c9b7ccd4f64d12e7995fd33 Mon Sep 17 00:00:00 2001 From: pcpa Date: Thu, 24 May 2012 15:33:14 -0300 Subject: Avoid problems with builds with -Werror=format-security. Signed-off-by: pcpa Signed-off-by: Alan Coopersmith --- lisp/lisp.c | 2 +- lisp/mathimp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/lisp.c b/lisp/lisp.c index 4b393c1..206c038 100644 --- a/lisp/lisp.c +++ b/lisp/lisp.c @@ -5044,7 +5044,7 @@ LispSignal(int signum) errstr = buffer; break; } - LispDestroy(errstr); + LispDestroy("%s", errstr); } void diff --git a/lisp/mathimp.c b/lisp/mathimp.c index 293625b..5f8bd4d 100644 --- a/lisp/mathimp.c +++ b/lisp/mathimp.c @@ -460,7 +460,7 @@ static char *fatal_object_error_strings[] = { static void fatal_error(int num) { - LispDestroy(fatal_error_strings[num]); + LispDestroy("%s", fatal_error_strings[num]); } static void -- cgit v1.2.3