diff options
-rw-r--r-- | Mac/Modules/calldll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/calldll.c b/Mac/Modules/calldll.c index 58a09b1..63c2e77 100644 --- a/Mac/Modules/calldll.c +++ b/Mac/Modules/calldll.c @@ -1009,7 +1009,7 @@ cdll_getlibrary(self, args) return NULL; /* Find the library connection ID */ - err = GetSharedLibrary(frag_name, kCurrentCFragArch, kLoadCFrag, &conn_id, &main_addr, + err = GetSharedLibrary(frag_name, kCompiledCFragArch, kLoadCFrag, &conn_id, &main_addr, errMessage); if ( err ) { sprintf(buf, "%.*s: %s", errMessage[0], errMessage+1, PyMac_StrError(err)); |