diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-10-08 22:37:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-08 22:37:45 +0200 |
commit | 5ab99e076c72a44f2e174e48abd9945cd0180d76 (patch) | |
tree | 7d766229e37a2a2cd26ee77001ffd9f45c31ddcc /src/shared/logs-show.c | |
parent | 5329ab10ffaf5b4a3fd6ebd9380b1ec09d05cfc8 (diff) |
time: functions named "internal" really shouldn't be exported
Also, let's try to make function names descriptive, instead of using
bools for flags.
Diffstat (limited to 'src/shared/logs-show.c')
-rw-r--r-- | src/shared/logs-show.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index e30e6865ac..3d742491c9 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -447,7 +447,9 @@ static int output_verbose( } fprintf(f, "%s [%s]\n", - format_timestamp_us(ts, sizeof(ts), realtime, flags & OUTPUT_UTC), + flags & OUTPUT_UTC ? + format_timestamp_us_utc(ts, sizeof(ts), realtime) : + format_timestamp_us(ts, sizeof(ts), realtime), cursor); JOURNAL_FOREACH_DATA_RETVAL(j, data, length, r) { |