[PATCH] Fix format-security warning
Frederic Crozat
fcrozat at mandriva.com
Tue Feb 3 05:00:50 PST 2009
---
dbus/dbus-gobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dbus/dbus-gobject.c b/dbus/dbus-gobject.c
index 95f062e..00cf56b 100644
--- a/dbus/dbus-gobject.c
+++ b/dbus/dbus-gobject.c
@@ -2350,7 +2350,7 @@ dbus_g_method_return (DBusGMethodInvocation *context, ...)
G_VALUE_COLLECT (&value, args, G_VALUE_NOCOPY_CONTENTS, &error);
if (error)
{
- g_warning(error);
+ g_warning("%s", error);
g_free (error);
}
_dbus_gvalue_marshal (&iter, &value);
--
1.6.1.2
--=-kG9dKKdmIElwy+Y6nuyq--
More information about the dbus
mailing list