diff options
Diffstat (limited to 'src/test/test-boot-timestamps.c')
-rw-r--r-- | src/test/test-boot-timestamps.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test-boot-timestamps.c b/src/test/test-boot-timestamps.c index ae5b5821f0..15189df60b 100644 --- a/src/test/test-boot-timestamps.c +++ b/src/test/test-boot-timestamps.c @@ -51,7 +51,7 @@ static int test_efi_loader(void) { } static int test_boot_timestamps(void) { - char s[MAX(FORMAT_TIMESPAN_MAX, FORMAT_TIMESTAMP_MAX)]; + char s[FORMAT_TIMESPAN_MAX]; dual_timestamp fw, l, k; int r; @@ -67,9 +67,9 @@ static int test_boot_timestamps(void) { log_info("Firmware began %s before kernel.", format_timespan(s, sizeof(s), fw.monotonic, 0)); log_info("Loader began %s before kernel.", format_timespan(s, sizeof(s), l.monotonic, 0)); - log_info("Firmware began %s.", format_timestamp(s, sizeof(s), fw.realtime)); - log_info("Loader began %s.", format_timestamp(s, sizeof(s), l.realtime)); - log_info("Kernel began %s.", format_timestamp(s, sizeof(s), k.realtime)); + log_info("Firmware began %s.", FORMAT_TIMESTAMP(fw.realtime)); + log_info("Loader began %s.", FORMAT_TIMESTAMP(l.realtime)); + log_info("Kernel began %s.", FORMAT_TIMESTAMP(k.realtime)); return 1; } |