diff options
author | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-21 01:49:28 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-21 01:49:28 +0000 |
commit | f0384583afe35c9e5f2771ac975076521eb5e37e (patch) | |
tree | 2e8771d02ca97de2b40001796c2cad5c6ade420d /MdeModulePkg/Universal | |
parent | 5b313781be41fc212bd3d81151075f5421298970 (diff) | |
download | edk2-f0384583afe35c9e5f2771ac975076521eb5e37e.zip edk2-f0384583afe35c9e5f2771ac975076521eb5e37e.tar.gz edk2-f0384583afe35c9e5f2771ac975076521eb5e37e.tar.bz2 |
Use the correct length to copy KeyData.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10966 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c index b33471f..d4f4809 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c @@ -3649,7 +3649,7 @@ ConSplitterTextInRegisterKeyNotify ( NewNotify->Signature = TEXT_IN_EX_SPLITTER_NOTIFY_SIGNATURE;
NewNotify->KeyNotificationFn = KeyNotificationFunction;
NewNotify->NotifyHandle = (EFI_HANDLE) NewNotify;
- CopyMem (&NewNotify->KeyData, KeyData, sizeof (KeyData));
+ CopyMem (&NewNotify->KeyData, KeyData, sizeof (EFI_KEY_DATA));
//
// Return the wrong status of registering key notify of
|