MdeModulePkg: Fix SetMem parameter in OnigurumaUefiPort

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3085

Coding error in converting memset call to SetMem - Length and Value
is not swapped on calling SetMem

Signed-off-by: Baraneedharan Anbazhagan <anbazhagan@hp.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Baraneedharan Anbazhagan 2020-12-09 10:16:52 -06:00 committed by mergify[bot]
parent d4633b36b9
commit 1f304300ff
1 changed files with 1 additions and 1 deletions

View File

@ -93,6 +93,6 @@ void* memcpy (void *dest, const void *src, unsigned int count)
void* memset (void *dest, char ch, unsigned int count)
{
return SetMem (dest, ch, count);
return SetMem (dest, count, ch);
}