Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-module.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-module.c')
-rw-r--r--libdocument/ev-module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdocument/ev-module.c b/libdocument/ev-module.c
index f9860a2..65627ab 100644
--- a/libdocument/ev-module.c
+++ b/libdocument/ev-module.c
@@ -76,7 +76,7 @@ ev_module_load (GTypeModule *gmodule)
module->library = g_module_open (module->path, 0);
if (!module->library) {
- g_warning (g_module_error ());
+ g_warning ("%s", g_module_error ());
return FALSE;
}
@@ -84,7 +84,7 @@ ev_module_load (GTypeModule *gmodule)
/* extract symbols from the lib */
if (!g_module_symbol (module->library, "register_evince_backend",
(void *) &register_func)) {
- g_warning (g_module_error ());
+ g_warning ("%s", g_module_error ());
g_module_close (module->library);
return FALSE;