mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-21 00:40:46 +02:00
[bus] While creating a syslog, correctly get pointer data from DBusString
This commit is contained in:
parent
af95ba7c8e
commit
c4371e4bc8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue