diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-04-18 20:23:01 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-04-18 20:23:01 (GMT) |
commit | 7e7cf1926d3159d32caeb1ebdeaebd9ddf1a83bd (patch) | |
tree | ad704a9e488f66b19fd52c1a9bb9f4603bd0b3da /src/plugins | |
parent | 5b476b9e4774885dd403ad30d1b1212e7e03613b (diff) |
Use the suitable macro for error messages.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/pglist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/pglist.c b/src/plugins/pglist.c index e7ca037..5f941ef 100644 --- a/src/plugins/pglist.c +++ b/src/plugins/pglist.c @@ -37,6 +37,7 @@ #include "plugin-int.h" #include "../common/extstr.h" +#include "../core/logs.h" #include "../core/paths.h" @@ -251,7 +252,7 @@ static void browse_directory_for_plugins(const char *dir) ret = scandir(dir, &namelist, filter_dirs_or_mods, alphasort); if (ret < 0) { - perror("scandir"); + LOG_ERROR_N("scandir"); return; } |