diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 14:24:01 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-11 14:24:01 +0100 |
commit | d7fc669bf0dbe37f46d2efec4940feb8504017c2 (patch) | |
tree | 7075ee0851d52f9e448be3ff084dde1c35014558 /pcilib/py.c | |
parent | 76ee5a167add1c169a982ab59aa0544f827cb365 (diff) | |
download | pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.tar.gz pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.tar.bz2 pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.tar.xz pcitool-d7fc669bf0dbe37f46d2efec4940feb8504017c2.zip |
Change no_set_check parameter name. Move Python wrap to separate directory.
Diffstat (limited to 'pcilib/py.c')
-rw-r--r-- | pcilib/py.c | 8 |
1 files changed, 4 insertions, 4 deletions
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"); } |