From 38adb24df71c6ea618ad7622538aff45ada5f851 Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@monsoon.(none)> Date: Thu, 4 Oct 2012 14:37:14 -0400 Subject: [PATCH] removed a compile warning --- src/g_readwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_readwrite.c b/src/g_readwrite.c index 7a0753741..8cf914909 100644 --- a/src/g_readwrite.c +++ b/src/g_readwrite.c @@ -44,7 +44,7 @@ int glist_readscalar(t_glist *x, int natoms, t_atom *vec, static void canvas_readerror(int natoms, t_atom *vec, int message, int nline, char *s) { - error(s); + error("%s", s); startpost("line was:"); postatom(nline, vec + message); endpost(); -- GitLab