diff options
author | Yasha Cherikovsky <yasha.che3@gmail.com> | 2015-11-14 19:16:58 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-11-19 00:02:13 +0100 |
commit | ae16c4034c37a28e352936d0600b51be21340524 (patch) | |
tree | f32027a46df8304af41f97f6d2762d94c91801bb /src/cpu | |
parent | 619fc95e7ce62fb6ef2214c2a9f0a2517e25949b (diff) |
coreinfo: Fix off-by-one in displayed month of year
According to C documentation, the range of tm_mon in struct tm is [0, 11].
Before the patch, the displayed month was indeed incorrect.
Change-Id: I9f95f1e978c45b3635e2edfe1ec496d7b0dec00a
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Reviewed-on: http://review.coreboot.org/12438
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu')
0 files changed, 0 insertions, 0 deletions