commit | e8af737d60df6580e88f5741ac680847c80638b8 | [log] [tgz] |
---|---|---|
author | Patrick Callaghan <patrickc@us.ibm.com> | Mon Jan 16 07:10:28 2017 -0800 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Mon Jan 16 07:12:23 2017 -0800 |
tree | 74b089a8523370dc7a02fd416813d59db04221c5 | |
parent | 791e4639ee837f70c8d5e1190e01dc3441d4a401 [diff] |
kernel_efivars.c: fix mismatch between UNIX and EFI time The EFI variable code is failing in January of every year. This is because of a mismatch between EFI_TIME and struct tm. The month in EFI_TIME is 1-12 and in struct tm it's 0-11 meaning that January is an invalid month for EFI_TIME. Fix this by adding one Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>