summaryrefslogtreecommitdiff
path: root/plugins/lnxsyscalls
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lnxsyscalls')
-rw-r--r--plugins/lnxsyscalls/Makefile.am4
-rw-r--r--plugins/lnxsyscalls/db.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/lnxsyscalls/Makefile.am b/plugins/lnxsyscalls/Makefile.am
index a68e18e..654420b 100644
--- a/plugins/lnxsyscalls/Makefile.am
+++ b/plugins/lnxsyscalls/Makefile.am
@@ -1,7 +1,7 @@
lib_LTLIBRARIES = liblnxsyscalls.la
-libdir = $(pluginsdir)
+libdir = $(pluginslibdir)
liblnxsyscalls_la_SOURCES = \
@@ -26,7 +26,7 @@ EXTRA_DIST = linux-syscalls.db
db_DATA = linux-syscalls.db
-dbdir = $(pluginsdir)
+dbdir = $(pluginsdatadir)
devdir = $(includedir)/chrysalide-$(subdir)
diff --git a/plugins/lnxsyscalls/db.c b/plugins/lnxsyscalls/db.c
index d6325b5..1c28981 100644
--- a/plugins/lnxsyscalls/db.c
+++ b/plugins/lnxsyscalls/db.c
@@ -54,7 +54,7 @@ sqlite3 *open_syscalls_database(const GPluginModule *plugin)
char *filename; /* Chemin vers la base */
int ret; /* Bilan d'un appel */
- filename = find_plugin_file("lnxsyscalls", "linux-syscalls.db");
+ filename = find_plugin_data_file("lnxsyscalls", "linux-syscalls.db");
if (filename == NULL)
{