os2: fix error message for SDL_LoadObject()

This commit is contained in:
Ozkan Sezer 2022-10-21 11:21:40 +03:00
parent 96361fc476
commit 4264c0b674
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}