From 4cf9cda531d0cf28724b276d05700fdcaf350368 Mon Sep 17 00:00:00 2001 From: Jonathan Earl Brassow Date: Mon, 9 May 2005 23:01:08 +0000 Subject: [PATCH] - one little error message... so useful. - print out why a dso fails to load --- lib/event/dmeventd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/event/dmeventd.c b/lib/event/dmeventd.c index b771908..1b3b9ac 100644 --- a/lib/event/dmeventd.c +++ b/lib/event/dmeventd.c @@ -546,8 +546,10 @@ static struct dso_data *load_dso(struct message_data *data) if (!(dso_file = create_dso_file_name(data->dso_name))) return NULL; - if (!(dl = dlopen(dso_file, RTLD_NOW))) + if (!(dl = dlopen(dso_file, RTLD_NOW))){ + log_err("%s\n", dlerror()); goto free_dso_file; + } if (!(ret = alloc_dso_data(data))) goto close; -- 2.43.5