aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/heapmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/include/heapmgr.h')
-rw-r--r--engines/sci/include/heapmgr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/include/heapmgr.h b/engines/sci/include/heapmgr.h
index d8d787e95d..db72e41c95 100644
--- a/engines/sci/include/heapmgr.h
+++ b/engines/sci/include/heapmgr.h
@@ -80,8 +80,8 @@ free_##ENTRY##_entry(ENTRY##_table_t *table, int index) \
ENTRY##_entry_t *e = table->table + index; \
\
if (index < 0 || index >= table->max_entry) { \
- error("heapmgr: Attempt to release" \
- " invalid table index %d", index); \
+ fprintf(stderr, "heapmgr: Attempt to release" \
+ " invalid table index %d!\n", index); \
BREAKPOINT(); \
} \
CLEANUP_FN(&(e->entry)); \