summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2012-05-24 15:33:14 -0300
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-05-31 23:00:35 -0700
commit33dacadbfb9adcb36c9b7ccd4f64d12e7995fd33 (patch)
treeaf19a4fb394f3b633b028528df780cbb1d713d8c /lisp
parent04ca5cd8abfe9851f0987b4739f9795e924024cf (diff)
Avoid problems with builds with -Werror=format-security.
Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'lisp')
-rw-r--r--lisp/lisp.c2
-rw-r--r--lisp/mathimp.c2
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