From 33bd68c44cf4da3f74eb0a3259bb902cb5f3fca3 Mon Sep 17 00:00:00 2001 From: "roberto@sirius" Date: Thu, 30 Sep 2010 14:08:05 +0200 Subject: [PATCH] compilation fix --- uwsgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ; }