diff --git a/src/sdlsoundsource.cpp b/src/sdlsoundsource.cpp index 28c6eba..f3f0856 100644 --- a/src/sdlsoundsource.cpp +++ b/src/sdlsoundsource.cpp @@ -46,8 +46,7 @@ struct SDLSoundSource : ALDataSource{ if (!sample){ SDL_CloseIO(&ops); - snprintf(msg, sizeof msg, "SDL_sound: %s", Sound_GetError()); - crash(msg, Exception::SDLError, true); + crash(Exception::SDLError, "SDL_sound: %s", Sound_GetError()); } sampleSize = formatSampleSize(sample->actual.format);