From: Lennart Poettering Date: Tue, 26 Oct 2010 18:45:43 +0000 (+0200) Subject: exec: fix dbus exposure of UtmpIdentifier field X-Git-Tag: v12~146 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57b63f363ffeed8556da11eab395f902adcefd5b;p=systemd exec: fix dbus exposure of UtmpIdentifier field --- diff --git a/src/dbus-execute.h b/src/dbus-execute.h index 3d84c206..87dc698b 100644 --- a/src/dbus-execute.h +++ b/src/dbus-execute.h @@ -144,7 +144,7 @@ { interface, "SameProcessGroup", bus_property_append_bool, "b", &(context).same_pgrp }, \ { interface, "KillMode", bus_execute_append_kill_mode, "s", &(context).kill_mode }, \ { interface, "KillSignal", bus_property_append_int, "i", &(context).kill_signal }, \ - { interface, "UtmpIdentifier", bus_property_append_string, "s", &(context).utmp_id } + { interface, "UtmpIdentifier", bus_property_append_string, "s", (context).utmp_id } #define BUS_EXEC_STATUS_PROPERTIES(interface, estatus, prefix) \ { interface, prefix "StartTimestamp", bus_property_append_usec, "t", &(estatus).start_timestamp.realtime }, \