summaryrefslogtreecommitdiff
path: root/UnixPkg
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-18 01:49:46 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-18 01:49:46 +0000
commitbe5d189fd1a2cb0b7ba2a515edd42dc09a04614f (patch)
treed66fc477c59e15e38e6c00486148db229e95fd9f /UnixPkg
parentd9177625f69f65107e298cee9bf3dc54bd06f9c1 (diff)
downloadedk2-platforms-be5d189fd1a2cb0b7ba2a515edd42dc09a04614f.tar.xz
modify an issue about data off.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5922 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg')
-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 44dfb1682f..622cfb55bd 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;