diff options
Diffstat (limited to 'Python/dynload_atheos.c')
-rw-r--r-- | Python/dynload_atheos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_atheos.c b/Python/dynload_atheos.c index 6f4df73..b01fdfa 100644 --- a/Python/dynload_atheos.c +++ b/Python/dynload_atheos.c @@ -34,7 +34,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, PyErr_SetString(PyExc_ImportError, buf); return NULL; } - PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname); + PyOS_snprintf(funcname, sizeof(funcname), "PyInit_%.200s", shortname); if (Py_VerboseFlag) printf("get_symbol_address %s\n", funcname); if (get_symbol_address(lib, funcname, -1, &p) < 0) { |