diff options
Diffstat (limited to 'src')
-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; } |