openbsd-ports/x11/dbus-glib/patches/patch-dbus_dbus-gobject_c
2009-02-08 15:51:45 +00:00

13 lines
471 B
Plaintext

$OpenBSD: patch-dbus_dbus-gobject_c,v 1.1 2009/02/08 15:51:45 ajacoutot Exp $
--- dbus/dbus-gobject.c.orig Sat Feb 7 00:04:36 2009
+++ dbus/dbus-gobject.c Sat Feb 7 00:04:59 2009
@@ -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);