]> sourceware.org Git - dm.git/commitdiff
- one little error message... so useful.
authorJonathan Earl Brassow <jbrassow@redhat.com>
Mon, 9 May 2005 23:01:08 +0000 (23:01 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Mon, 9 May 2005 23:01:08 +0000 (23:01 +0000)
- print out why a dso fails to load

lib/event/dmeventd.c

index b771908e8d8adf3d55914c33c3ed52dea7cc58c9..1b3b9acd85733f371f1f4574bde52d2da06143e9 100644 (file)
@@ -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;
This page took 0.028131 seconds and 5 git commands to generate.