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/login | |
parent | 9a98c7a156709ae16f7e043f866ecb452ce906f8 (diff) |
util: rename format_timestamp_pretty() to format_timestamp_relative() because that describes much better what it does
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/loginctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 146986b46e..820fcc05b5 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -334,7 +334,7 @@ static void print_session_status_info(SessionStatusInfo *i) { else printf("%u\n", (unsigned) i->uid); - s1 = format_timestamp_pretty(since1, sizeof(since1), i->timestamp); + s1 = format_timestamp_relative(since1, sizeof(since1), i->timestamp); s2 = format_timestamp(since2, sizeof(since2), i->timestamp); if (s1) @@ -427,7 +427,7 @@ static void print_user_status_info(UserStatusInfo *i) { else printf("%u\n", (unsigned) i->uid); - s1 = format_timestamp_pretty(since1, sizeof(since1), i->timestamp); + s1 = format_timestamp_relative(since1, sizeof(since1), i->timestamp); s2 = format_timestamp(since2, sizeof(since2), i->timestamp); if (s1) |