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 3d84c20..87dc698 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     }, \