diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/common/loud.c | 6 | ||||
-rw-r--r-- | shared/common/mifi.c | 2 |
2 files changed, 4 insertions, 4 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); } diff --git a/shared/common/mifi.c b/shared/common/mifi.c index 2e216f5..8550891 100644 --- a/shared/common/mifi.c +++ b/shared/common/mifi.c @@ -216,7 +216,7 @@ static void mifi_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("mifi error: %s", buf); va_end(ap); |