summaryrefslogtreecommitdiff
path: root/src/shared/time-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-11-23 22:12:59 +0100
committerLennart Poettering <lennart@poettering.net>2012-11-23 22:12:59 +0100
commitbbb8486e1709ee297a1eb803f88041e1da1fa436 (patch)
treeda5ce1c3b777c1766b3b5ef8e36fd9fbb0295e7f /src/shared/time-util.c
parent9a98c7a156709ae16f7e043f866ecb452ce906f8 (diff)
util: rename format_timestamp_pretty() to format_timestamp_relative() because that describes much better what it does
Diffstat (limited to 'src/shared/time-util.c')
-rw-r--r--src/shared/time-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/time-util.c b/src/shared/time-util.c
index 3323683339..3d00b20eec 100644
--- a/src/shared/time-util.c
+++ b/src/shared/time-util.c
@@ -142,7 +142,7 @@ char *format_timestamp(char *buf, size_t l, usec_t t) {
return buf;
}
-char *format_timestamp_pretty(char *buf, size_t l, usec_t t) {
+char *format_timestamp_relative(char *buf, size_t l, usec_t t) {
usec_t n, d;
n = now(CLOCK_REALTIME);