From: Serhiy Storchaka Date: Tue, 12 Oct 2021 07:20:04 +0000 (+0300) Subject: Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863) X-Git-Tag: v3.11.0a2~233 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f79f3b41c8c1360d4e0ae884a52d0a486974ca53;p=thirdparty%2FPython%2Fcpython.git Fix format string in _PyImport_LoadDynamicModuleWithSpec() (GH-28863) --- diff --git a/Python/importdl.c b/Python/importdl.c index 3d9cd1ac8673..6d2554741f98 100644 --- a/Python/importdl.c +++ b/Python/importdl.c @@ -207,7 +207,7 @@ _PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *fp) /* don't allow legacy init for non-ASCII module names */ PyErr_Format( PyExc_SystemError, - "initialization of * did not return PyModuleDef", + "initialization of %s did not return PyModuleDef", name_buf); goto error; }