aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/processor_buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/frotz/processor_buffer.cpp')
-rw-r--r--engines/glk/frotz/processor_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/frotz/processor_buffer.cpp b/engines/glk/frotz/processor_buffer.cpp
index c4eaeaa42e..b8b37ed60e 100644
--- a/engines/glk/frotz/processor_buffer.cpp
+++ b/engines/glk/frotz/processor_buffer.cpp
@@ -158,7 +158,7 @@ void Processor::runtimeError(ErrorCode errNum) {
if (_err_report_mode == ERR_REPORT_FATAL
|| (!_ignore_errors && errNum <= ERR_MAX_FATAL)) {
flush_buffer();
- error(ERR_MESSAGES[errNum - 1]);
+ error("%s", ERR_MESSAGES[errNum - 1]);
return;
}