summaryrefslogtreecommitdiffstats
path: root/runtime/errmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/errmsg.c')
-rw-r--r--runtime/errmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/errmsg.c b/runtime/errmsg.c
index dcb5b185..55d013ea 100644
--- a/runtime/errmsg.c
+++ b/runtime/errmsg.c
@@ -57,7 +57,7 @@ DEFobjStaticHelpers
* rgerhards, 2008-06-27
*/
static void __attribute__((format(printf, 3, 4)))
-LogError(int iErrno, int iErrCode, char *fmt, ... )
+LogError(int iErrno, int iErrCode, const char *fmt, ... )
{
va_list ap;
char buf[1024];