summaryrefslogtreecommitdiff
path: root/src/commonlib/bsd/elog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commonlib/bsd/elog.c')
-rw-r--r--src/commonlib/bsd/elog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/bsd/elog.c b/src/commonlib/bsd/elog.c
index a5e644c4af..8151d70698 100644
--- a/src/commonlib/bsd/elog.c
+++ b/src/commonlib/bsd/elog.c
@@ -50,7 +50,7 @@ const void *event_get_data(const struct event_header *event)
/* Populate timestamp in event header with given time. */
void elog_fill_timestamp(struct event_header *event, uint8_t sec, uint8_t min,
- uint8_t hour, uint8_t mday, uint8_t mon, uint8_t year)
+ uint8_t hour, uint8_t mday, uint8_t mon, uint16_t year)
{
event->second = bin2bcd(sec);
event->minute = bin2bcd(min);