aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index df4e3274af..53c28d2258 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -241,7 +241,7 @@ void fwrite_wrapper(EngineState *s, int handle, char *data, int length) {
return;
if (!f->_out) {
- error("fgets_wrapper: Trying to write to file '%s' opened for reading", f->_name.c_str());
+ error("fwrite_wrapper: Trying to write to file '%s' opened for reading", f->_name.c_str());
return;
}