summaryrefslogtreecommitdiff
path: root/src/core/paths.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-06-17 16:11:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-06-17 16:11:45 (GMT)
commit378be1ab322dce8e8377d692829d6877758e5960 (patch)
tree17dc518687a45649caa68304cc2a5750a0a50554 /src/core/paths.c
parent1f7e9506775f66a3a5f2859779d33b914eee8ef4 (diff)
Annotated linux kernel syscalls using a new plugin.
Diffstat (limited to 'src/core/paths.c')
-rw-r--r--src/core/paths.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/paths.c b/src/core/paths.c
index 13b9cbe..8e825d2 100644
--- a/src/core/paths.c
+++ b/src/core/paths.c
@@ -136,8 +136,8 @@ char *find_plugin_file(const char *pgname, const char *filename)
#ifndef DISCARD_LOCAL
- asprintf(&dirname, "%s%splugins%s%s%s%s",
- PACKAGE_SOURCE_DIR, G_DIR_SEPARATOR_S, G_DIR_SEPARATOR_S, pgname, G_DIR_SEPARATOR_S, filename);
+ asprintf(&dirname, "%s%splugins%s%s",
+ PACKAGE_SOURCE_DIR, G_DIR_SEPARATOR_S, G_DIR_SEPARATOR_S, pgname);
result = find_file_in_directory(dirname, filename);