diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-13 19:29:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-13 19:29:46 +0200 |
commit | 7ceba241344b2126e5e9cb46929dbbb591f04c49 (patch) | |
tree | 46d0512e8f6945a97e6b49b61a8b915b3c96831f /src/core/manager.c | |
parent | 915b375388231ed97cad2929ab948756bfc77c42 (diff) |
manager: fix the build
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index 23d8ca3d34..b0357b71fd 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -2013,7 +2013,7 @@ bool manager_unit_pending_inactive(Manager *m, const char *name) { } void manager_check_finished(Manager *m) { - char firmware[FORMAT_TIMESPAN_MAX], loader[FORMAT_TIMESPAN_MAX], userspace[FORMAT_TIMESPAN_MAX], initrd[FORMAT_TIMESPAN_MAX], kernel[FORMAT_TIMESPAN_MAX], sum[FORMAT_TIMESPAN_MAX]; + char userspace[FORMAT_TIMESPAN_MAX], initrd[FORMAT_TIMESPAN_MAX], kernel[FORMAT_TIMESPAN_MAX], sum[FORMAT_TIMESPAN_MAX]; usec_t firmware_usec, loader_usec, kernel_usec, initrd_usec, userspace_usec, total_usec; assert(m); @@ -2039,10 +2039,10 @@ void manager_check_finished(Manager *m) { * m->loader_usec.monotonic should be considered * negative values. */ - firmware_usec = m->firmware_usec.monotonic - m->loader_timestamp.monotonic; - loader_usec = m->loader_usec.monotonic - m->kernel_usec.monotonic; + firmware_usec = m->firmware_timestamp.monotonic - m->loader_timestamp.monotonic; + loader_usec = m->loader_timestamp.monotonic - m->kernel_timestamp.monotonic; userspace_usec = m->finish_timestamp.monotonic - m->userspace_timestamp.monotonic; - total_usec = m->firmware_usec.monotonic + m->finish_timestamp.monotonic; + total_usec = m->firmware_timestamp.monotonic + m->finish_timestamp.monotonic; if (dual_timestamp_is_set(&m->initrd_timestamp)) { |