1427f12adf
elogtool was setting the timestamp with the wrong value in the month. This CL fixes that by incrementing the month by one. This is needed since gmtime() returns the month value starting at 0. TEST=pytest elogtool_test.py (see next CL in relation chain) Change-Id: I00f89ed99b049caafba2e47feae3c068245f9021 Signed-off-by: Ricardo Quesada <ricardoq@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57868 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> |
||
---|---|---|
.. | ||
console | ||
flashmap | ||
lz4 | ||
lzma | ||
.gitignore | ||
EXAMPLE | ||
Makefile | ||
Makefile.inc | ||
ProcessorBind.h | ||
amdcompress.c | ||
cbfs-mkpayload.c | ||
cbfs-mkstage.c | ||
cbfs-payload-linux.c | ||
cbfs.h | ||
cbfs_glue.h | ||
cbfs_image.c | ||
cbfs_image.h | ||
cbfs_sections.c | ||
cbfs_sections.h | ||
cbfscomptool.c | ||
cbfstool.c | ||
coff.h | ||
common.c | ||
common.h | ||
compress.c | ||
default-x86.fmd | ||
default.fmd | ||
description.md | ||
elf.h | ||
elfheaders.c | ||
elfparsing.h | ||
elogtool.c | ||
eventlog.c | ||
eventlog.h | ||
fdt.h | ||
fit.c | ||
fit.h | ||
flashmap_tests.c | ||
fmap_from_fmd.c | ||
fmap_from_fmd.h | ||
fmaptool.c | ||
fmd.c | ||
fmd.h | ||
fmd_parser.c_shipped | ||
fmd_parser.h_shipped | ||
fmd_parser.y | ||
fmd_scanner.c_shipped | ||
fmd_scanner.h_shipped | ||
fmd_scanner.l | ||
fv.h | ||
ifittool.c | ||
ifwitool.c | ||
linux.h | ||
linux_trampoline.S | ||
linux_trampoline.c | ||
linux_trampoline.h | ||
option.h | ||
partitioned_file.c | ||
partitioned_file.h | ||
platform_fixups.c | ||
rmodtool.c | ||
rmodule.c | ||
rmodule.h | ||
swab.h | ||
xdr.c |