diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/time-util.c | 2 | ||||
-rw-r--r-- | src/shared/time-util.h | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/src/shared/time-util.h b/src/shared/time-util.h index 6b69940eb5..1f6952cc5c 100644 --- a/src/shared/time-util.h +++ b/src/shared/time-util.h @@ -71,7 +71,7 @@ usec_t timeval_load(const struct timeval *tv); struct timeval *timeval_store(struct timeval *tv, usec_t u); char *format_timestamp(char *buf, size_t l, usec_t t); -char *format_timestamp_pretty(char *buf, size_t l, usec_t t); +char *format_timestamp_relative(char *buf, size_t l, usec_t t); char *format_timespan(char *buf, size_t l, usec_t t); void dual_timestamp_serialize(FILE *f, const char *name, dual_timestamp *t); |