aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/seg_manager.cpp2
-rw-r--r--engines/sci/engine/vm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp
index ab29fd4aa8..652135754c 100644
--- a/engines/sci/engine/seg_manager.cpp
+++ b/engines/sci/engine/seg_manager.cpp
@@ -1808,7 +1808,7 @@ seg_interface_t *get_seg_interface(SegManager *self, seg_id_t segid) {
memcpy(retval, seg_interfaces[mobj->type - 1], sizeof(seg_interface_t));
if (mobj->type != retval->type_id) {
- error(stderr, "Improper segment interface for %d", mobj->type);
+ error("Improper segment interface for %d", mobj->type);
}
retval->segmgr = self;
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 55febf4ca7..886a1f5d37 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -540,7 +540,7 @@ void vm_handle_fatal_error(EngineState *s, int line, const char *file) {
if (jump_initialized)
longjmp(vm_error_address, 0);
#endif
- error(stderr, "Could not recover, exitting...\n");
+ error("Could not recover, exitting...\n");
}
static inline script_t *script_locate_by_segment(EngineState *s, seg_id_t seg) {