mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Better error message if module_open() fails. (#105349, Tim Mooney)
2003-02-06 Matthias Clasen <maclas@gmx.de> * queryloaders.c (query_module): Better error message if module_open() fails. (#105349, Tim Mooney)
This commit is contained in:
parent
d566e483b6
commit
f683ed9a0a
@ -101,7 +101,11 @@ query_module (const char *dir, const char *file)
|
||||
g_free (info);
|
||||
}
|
||||
else {
|
||||
g_fprintf (stderr, "Cannot load loader %s\n", path);
|
||||
if (module == NULL)
|
||||
g_fprintf (stderr, "g_module_open() failed for %s: %s\n", path,
|
||||
g_module_error());
|
||||
else
|
||||
g_fprintf (stderr, "Cannot load loader %s\n", path);
|
||||
}
|
||||
if (module)
|
||||
g_module_close (module);
|
||||
|
Loading…
Reference in New Issue
Block a user