diff --git a/src/input/api/SDL/SDLControllerProvider.cpp b/src/input/api/SDL/SDLControllerProvider.cpp index fcec0f7e..9e0c09b5 100644 --- a/src/input/api/SDL/SDLControllerProvider.cpp +++ b/src/input/api/SDL/SDLControllerProvider.cpp @@ -32,7 +32,7 @@ SDLControllerProvider::SDLControllerProvider() SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_LUNA, "1"); if (SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER | SDL_INIT_HAPTIC | SDL_INIT_EVENTS) < 0) - throw std::runtime_error(fmt::format("couldn't initialize SDL: %s", SDL_GetError())); + throw std::runtime_error(fmt::format("couldn't initialize SDL: {}", SDL_GetError())); if (SDL_GameControllerEventState(SDL_ENABLE) < 0) {