From e6d988259788b5d5eb1e2fda40cfb9c0f5c1700f Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 9 Jun 2008 22:37:20 +0000 Subject: Fix some build warnings. Bug #537487. svn path=/trunk/; revision=8274 --- lib/ephy-module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/ephy-module.c b/lib/ephy-module.c index 63e626ab9..86fa9bbe6 100644 --- a/lib/ephy-module.c +++ b/lib/ephy-module.c @@ -124,7 +124,7 @@ ephy_module_load (GTypeModule *gmodule) if (module->library == NULL) { - g_warning (g_module_error()); + g_warning ("%s", g_module_error()); return FALSE; } @@ -133,7 +133,7 @@ ephy_module_load (GTypeModule *gmodule) if (!g_module_symbol (module->library, "register_module", (void *) ®ister_func)) { - g_warning (g_module_error()); + g_warning ("%s", g_module_error()); g_module_close (module->library); return FALSE; -- cgit