summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2013-05-20 16:17:38 +0200
committerMichal Schmidt <mschmidt@redhat.com>2013-05-20 16:17:38 +0200
commitb69bd568155676f021e816cae48dbf03349e60d4 (patch)
treedc5fd5647f7f00a4cb6585a6d43b5b09b59e5c51
parentf11e11e3446f7959c11a60eb0c9b53ed75ef9f42 (diff)
core: fix DBus property ExecMainExitTimestamp
Possibly due to copy&paste error it was identical to ExecMainStartTimestamp.
-rw-r--r--src/core/dbus-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c
index e06a5dce97..98bcdcb402 100644
--- a/src/core/dbus-service.c
+++ b/src/core/dbus-service.c
@@ -103,8 +103,8 @@ static DEFINE_BUS_PROPERTY_SET_ENUM(bus_service_set_start_limit_action, start_li
static const BusProperty bus_exec_main_status_properties[] = {
{ "ExecMainStartTimestamp", bus_property_append_usec, "t", offsetof(ExecStatus, start_timestamp.realtime) },
{ "ExecMainStartTimestampMonotonic",bus_property_append_usec, "t", offsetof(ExecStatus, start_timestamp.monotonic) },
- { "ExecMainExitTimestamp", bus_property_append_usec, "t", offsetof(ExecStatus, start_timestamp.realtime) },
- { "ExecMainExitTimestampMonotonic", bus_property_append_usec, "t", offsetof(ExecStatus, start_timestamp.monotonic) },
+ { "ExecMainExitTimestamp", bus_property_append_usec, "t", offsetof(ExecStatus, exit_timestamp.realtime) },
+ { "ExecMainExitTimestampMonotonic", bus_property_append_usec, "t", offsetof(ExecStatus, exit_timestamp.monotonic) },
{ "ExecMainPID", bus_property_append_pid, "u", offsetof(ExecStatus, pid) },
{ "ExecMainCode", bus_property_append_int, "i", offsetof(ExecStatus, code) },
{ "ExecMainStatus", bus_property_append_int, "i", offsetof(ExecStatus, status) },