From c4371e4bc8a561cf91516d22f00c9512dc7e8e53 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 21 Mar 2010 07:01:15 -0400 Subject: [bus] While creating a syslog, correctly get pointer data from DBusString --- bus/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bus') diff --git a/bus/bus.c b/bus/bus.c index 3e37e90a..60de72af 100644 --- a/bus/bus.c +++ b/bus/bus.c @@ -1196,7 +1196,7 @@ bus_context_log (BusContext *context, DBusSystemLogSeverity severity, const char if (!_dbus_string_append_printf_valist (&full_msg, msg, args)) goto oom_out; - _dbus_system_log (severity, "%s", full_msg); + _dbus_system_log (severity, "%s", _dbus_string_get_const_data (&full_msg)); oom_out: _dbus_string_free (&full_msg); } -- cgit v1.2.3