summaryrefslogtreecommitdiff
path: root/src/resources/loaders/musicloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/loaders/musicloader.cpp')
-rw-r--r--src/resources/loaders/musicloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/loaders/musicloader.cpp b/src/resources/loaders/musicloader.cpp
index e734ddce6..7ac151c12 100644
--- a/src/resources/loaders/musicloader.cpp
+++ b/src/resources/loaders/musicloader.cpp
@@ -67,7 +67,7 @@ namespace
}
#endif // USE_SDL2
- logger->log("Error, failed to load music: %s", Mix_GetError());
+ logger->log("Error, failed to load music: %s", SDL_GetError());
return nullptr;
}
};