From 6a926aaed7d110ae60d7ada3ec823b8ce85a797b Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Mon, 8 Oct 2018 14:34:19 +0800 Subject: [PATCH] MdeModulePkg/UdfDxe: Fix a typo within SetFileInfo() REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1253 Within function SetFileInfo(): This commit will fix a typo where 'Minute' should be used instead of 'Second'. Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu Reviewed-by: Paulo Alcantara Acked-by: Star Zeng --- MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c b/MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c index 24fef4e9f3..c55dcf1301 100644 --- a/MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c +++ b/MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c @@ -2453,7 +2453,7 @@ SetFileInfo ( FileInfo->CreateTime.Month = FileEntry->AccessTime.Month; FileInfo->CreateTime.Day = FileEntry->AccessTime.Day; FileInfo->CreateTime.Hour = FileEntry->AccessTime.Hour; - FileInfo->CreateTime.Minute = FileEntry->AccessTime.Second; + FileInfo->CreateTime.Minute = FileEntry->AccessTime.Minute; FileInfo->CreateTime.Second = FileEntry->AccessTime.Second; FileInfo->CreateTime.Nanosecond = FileEntry->AccessTime.HundredsOfMicroseconds;