diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-11-23 22:12:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-11-23 22:12:59 +0100 |
commit | bbb8486e1709ee297a1eb803f88041e1da1fa436 (patch) | |
tree | da5ce1c3b777c1766b3b5ef8e36fd9fbb0295e7f /src/systemctl/systemctl.c | |
parent | 9a98c7a156709ae16f7e043f866ecb452ce906f8 (diff) |
util: rename format_timestamp_pretty() to format_timestamp_relative() because that describes much better what it does
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r-- | src/systemctl/systemctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index a605ed91b0..ba4f171fda 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -2125,7 +2125,7 @@ static void print_status_info(UnitStatusInfo *i) { streq_ptr(i->active_state, "activating") ? i->inactive_exit_timestamp : i->active_exit_timestamp; - s1 = format_timestamp_pretty(since1, sizeof(since1), timestamp); + s1 = format_timestamp_relative(since1, sizeof(since1), timestamp); s2 = format_timestamp(since2, sizeof(since2), timestamp); if (s1) @@ -2136,7 +2136,7 @@ static void print_status_info(UnitStatusInfo *i) { printf("\n"); if (!i->condition_result && i->condition_timestamp > 0) { - s1 = format_timestamp_pretty(since1, sizeof(since1), i->condition_timestamp); + s1 = format_timestamp_relative(since1, sizeof(since1), i->condition_timestamp); s2 = format_timestamp(since2, sizeof(since2), i->condition_timestamp); if (s1) |