summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fa4ff95)
raw | patch | inline | side by side (parent: fa4ff95)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 12 Sep 2007 08:55:35 +0000 (10:55 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 12 Sep 2007 09:01:14 +0000 (11:01 +0200) |
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>
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index fe7a9e5c9573409d8c533e635a9a5187b832ea36..e985dac648d49336a5870447c4e84b66eadc016b 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
const char *error = lt_dlerror ();
ERROR ("lt_dlopen failed: %s", error);
+ fprintf (stderr, "lt_dlopen failed: %s\n", error);
return (1);
}
ret = 0;
break;
}
+ else
+ {
+ fprintf (stderr, "Unable to load plugin %s.\n", type);
+ }
}
closedir (dh);