aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/device
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/device')
-rw-r--r--engines/sci/sfx/device/devices.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/sfx/device/devices.cpp b/engines/sci/sfx/device/devices.cpp
index a735cdaf3d..42f5a89dbb 100644
--- a/engines/sci/sfx/device/devices.cpp
+++ b/engines/sci/sfx/device/devices.cpp
@@ -23,6 +23,8 @@
*
*/
+#include "common/util.h"
+
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
@@ -72,7 +74,7 @@ sfx_find_device(int type, char *name) {
if (dev) {
if (dev->init(dev)) {
- fprintf(stderr, "[SFX] Opening device '%s' failed\n",
+ error("[SFX] Opening device '%s' failed\n",
dev->name);
return NULL;
}