summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Eitzenberger <heitzenberger@astaro.com>2009-11-09 14:59:10 +0100
committerHarald Welte <laforge@gnumonks.org>2010-10-21 19:15:39 +0200
commit6b81474778473773ede42185b299434b5f0e3fa4 (patch)
tree8418983afa2fb31861ca01a5a86bf80d44bdafab
parenta4839315bdee75cf17fa39f0f7af3bcbdea75e09 (diff)
Improve dlsym error message
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
-rw-r--r--src/ulogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ulogd.c b/src/ulogd.c
index ca2db5f..73b8055 100644
--- a/src/ulogd.c
+++ b/src/ulogd.c
@@ -160,7 +160,7 @@ static int
load_plugin(const char *file)
{
if (dlopen(file, RTLD_NOW) == NULL) {
- ulogd_log(ULOGD_ERROR, "%s: %s\n", file, dlerror());
+ ulogd_log(ULOGD_ERROR, "%s\n", dlerror());
return -1;
}