summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/i_sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i_sound.c b/src/i_sound.c
index ee0ad57b..405cbfa2 100644
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -522,7 +522,7 @@ I_InitSound()
if (Mix_OpenAudio(22050, AUDIO_S16LSB, 2, 1024) < 0)
{
- fprintf(stderr, "Error initialising SDL_mixer: %s\n", SDL_GetError());
+ fprintf(stderr, "Error initialising SDL_mixer: %s\n", Mix_GetError());
return;
}
@@ -707,7 +707,7 @@ void *I_RegisterSong(void *data, int len)
{
// Failed to load
- fprintf(stderr, "Error loading midi\n");
+ fprintf(stderr, "Error loading midi: %s\n", Mix_GetError());
}
// remove file now