chiark / gitweb /
exec: fix dbus exposure of UtmpIdentifier field
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Oct 2010 18:45:43 +0000 (20:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Oct 2010 18:45:43 +0000 (20:45 +0200)
src/dbus-execute.h

index 3d84c20614cfb3d9124f7a2591353d217f888825..87dc698b16f25e310ca33e6a8a507ac2d99d2336 100644 (file)
         { 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     }, \