Commit e5fe522194cb3c8eaaa81517282093c8bbff8130

Sam Lantinga 2022-10-23T16:34:46

Merge commit '4264c0b67469896fced5ba8ac4c0e75acbb13ff1' into main

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/loadso/os2/SDL_sysloadso.c b/src/loadso/os2/SDL_sysloadso.c
index 2b96848..4af8068 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;
     }