From 8a92fdea98602f267fb5441eb9f9fb7a6ecc0d21 Mon Sep 17 00:00:00 2001 From: pcpa Date: Thu, 24 May 2012 15:33:14 -0300 Subject: [PATCH 4/4] Avoid problems with builds with -Werror=format-security. Signed-off-by: pcpa --- 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 -- 1.7.9.2