diff --git a/uwsgi.c b/uwsgi.c index fb751b35..a7d4c3e3 100644 --- a/uwsgi.c +++ b/uwsgi.c @@ -1622,7 +1622,7 @@ void init_uwsgi_vars() { PyDict_SetItemString(pysys_dict, "exec_prefix", venv_path); venv_version[14] = 0 ; - if (snprintf(venv_version, 15, "%.*s/lib/python%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION) == -1) { + if (snprintf(venv_version, 15, "/lib/python%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION) == -1) { return ; }