From 57b63f363ffeed8556da11eab395f902adcefd5b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 Oct 2010 20:45:43 +0200 Subject: [PATCH] exec: fix dbus exposure of UtmpIdentifier field --- src/dbus-execute.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, \ -- 2.39.5