summaryrefslogtreecommitdiff
path: root/UnixPkg/Sec
diff options
context:
space:
mode:
Diffstat (limited to 'UnixPkg/Sec')
-rw-r--r--UnixPkg/Sec/UnixThunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnixPkg/Sec/UnixThunk.c b/UnixPkg/Sec/UnixThunk.c
index 44dfb16..622cfb5 100644
--- a/UnixPkg/Sec/UnixThunk.c
+++ b/UnixPkg/Sec/UnixThunk.c
@@ -108,7 +108,7 @@ GetLocalTime (EFI_TIME *Time)
tm = localtime (&t);
Time->Year = 1900 + tm->tm_year;
- Time->Month = tm->tm_mon;
+ Time->Month = tm->tm_mon + 1;
Time->Day = tm->tm_mday;
Time->Hour = tm->tm_hour;
Time->Minute = tm->tm_min;