From d7fc669bf0dbe37f46d2efec4940feb8504017c2 Mon Sep 17 00:00:00 2001 From: Vasilii Chernov Date: Thu, 11 Feb 2016 14:24:01 +0100 Subject: Change no_set_check parameter name. Move Python wrap to separate directory. --- pcilib/py.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pcilib/py.c') diff --git a/pcilib/py.c b/pcilib/py.c index 57a5f46..664e170 100644 --- a/pcilib/py.c +++ b/pcilib/py.c @@ -293,15 +293,15 @@ int pcilib_init_py_script(pcilib_t *ctx, char* module_name, pcilib_script_t **mo char* pcipywrap_path; if(app_dir) { - pcipywrap_path = malloc(strlen(app_dir) + strlen("/pcilib")); + pcipywrap_path = malloc(strlen(app_dir) + strlen("/pywrap")); if (!pcipywrap_path) return PCILIB_ERROR_MEMORY; - sprintf(pcipywrap_path, "%s/%s", "/pcilib", ctx->model); + sprintf(pcipywrap_path, "%s/%s", "/pywrap", ctx->model); } else { - pcipywrap_path = malloc(strlen("./pcilib")); + pcipywrap_path = malloc(strlen("./pywrap")); if (!pcipywrap_path) return PCILIB_ERROR_MEMORY; - sprintf(pcipywrap_path, "%s", "./pcilib"); + sprintf(pcipywrap_path, "%s", "./pywrap"); } -- cgit v1.2.3