This makes sure the user will get the message on the terminal in any case.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
const char *error = lt_dlerror ();
ERROR ("lt_dlopen failed: %s", error);
const char *error = lt_dlerror ();
ERROR ("lt_dlopen failed: %s", error);
+ fprintf (stderr, "lt_dlopen failed: %s\n", error);
+ else
+ {
+ fprintf (stderr, "Unable to load plugin %s.\n", type);
+ }