diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-09-26 01:23:44 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-09-26 01:23:44 +0200 |
commit | 794085a8cbcffd8803ced3bcf1bad405db7696d9 (patch) | |
tree | 4d720075666ffe44ad5e72dc83a57680c2270538 /src/plugin.c | |
parent | 97a8b3658e46f41c930d0d31a1f07099c9859e75 (diff) | |
download | connman-794085a8cbcffd8803ced3bcf1bad405db7696d9.tar.gz connman-794085a8cbcffd8803ced3bcf1bad405db7696d9.tar.bz2 connman-794085a8cbcffd8803ced3bcf1bad405db7696d9.zip |
Print error details when plugin loading fails
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugin.c b/src/plugin.c index 244aaebf..12ed917d 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -75,7 +75,8 @@ static void load_plugins(const gchar *path) module = g_module_open(filename, 0); if (module == NULL) { - g_warning("Can't load %s", filename); + g_warning("Can't load %s: %s", filename, + g_module_error()); continue; } |