diff --git a/src/loadso/os2/SDL_sysloadso.c b/src/loadso/os2/SDL_sysloadso.c index 2b96848ac..4af806854 100644 --- a/src/loadso/os2/SDL_sysloadso.c +++ b/src/loadso/os2/SDL_sysloadso.c @@ -49,7 +49,7 @@ SDL_LoadObject(const char *sofile) ulRC = DosLoadModule(acError, sizeof(acError), pszModName, &hModule); SDL_free(pszModName); if (ulRC != NO_ERROR) { - SDL_SetError("Failed loading %s (E%u)", acError, ulRC); + SDL_SetError("Failed loading %s: %s (E%u)", sofile, acError, ulRC); return NULL; }