[systemd-commits] src/core
Michal Schmidt
michich at kemper.freedesktop.org
Mon May 20 07:22:55 PDT 2013
src/core/dbus-service.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b69bd568155676f021e816cae48dbf03349e60d4
Author: Michal Schmidt <mschmidt at redhat.com>
Date: Mon May 20 16:17:38 2013 +0200
core: fix DBus property ExecMainExitTimestamp
Possibly due to copy&paste error it was identical to
ExecMainStartTimestamp.
diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c
index e06a5dc..98bcdcb 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) },
More information about the systemd-commits
mailing list