X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-module.c;h=65627ab1643ab09c68e4082c2a1c35d662ce3560;hb=0526caefb3e35fe432e40fb9503d370907c9ef28;hp=f9860a2f6bfcc35eff36df78169e1c9e1a397216;hpb=6ee6a56490821f09bffbe17f3dde19da3a119dd8;p=evince.git diff --git a/libdocument/ev-module.c b/libdocument/ev-module.c index f9860a2f..65627ab1 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 *) ®ister_func)) { - g_warning (g_module_error ()); + g_warning ("%s", g_module_error ()); g_module_close (module->library); return FALSE;