summaryrefslogtreecommitdiffstats
path: root/pcilib/py.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/py.c')
-rw-r--r--pcilib/py.c8
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");
}