aboutsummaryrefslogtreecommitdiff
path: root/shared/common/loud.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 19:10:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 19:10:54 +0000
commit9d9c5e05b6b360b967098acf25c1a97fe89e8c6b (patch)
tree63a084c0af19e50ce2a95d8d82a1a95d8a8e799b /shared/common/loud.c
parente74e00155cd9ce837c3aa18bc817b9b0d065a1dc (diff)
fix format-security warnings
svn path=/trunk/externals/miXed/; revision=16964
Diffstat (limited to 'shared/common/loud.c')
-rw-r--r--shared/common/loud.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/common/loud.c b/shared/common/loud.c
index d21334e..8183027 100644
--- a/shared/common/loud.c
+++ b/shared/common/loud.c
@@ -71,7 +71,7 @@ void loud_error(t_pd *x, char *fmt, ...)
if (x)
{
startpost("%s's ", class_getname(*x));
- pd_error(x, buf);
+ pd_error(x, "%s", buf);
}
else post("%s %s", LOUD_ERROR_DEFAULT, buf);
va_end(ap);
@@ -225,7 +225,7 @@ void loudx_error(t_loudcontext *lc, char *fmt, ...)
{
startpost("%s's ", (lc->lc_callername ?
lc->lc_callername : class_getname(*lc->lc_caller)));
- pd_error(lc->lc_caller, buf);
+ pd_error(lc->lc_caller, "%s", buf);
}
else
{
@@ -442,5 +442,5 @@ void loudbug_bug(char *fmt, ...)
#ifdef _WIN32
fflush(stderr);
#endif
- bug(buf);
+ bug("%s", buf);
}