/** @file\r
Misc BDS library function\r
\r
-Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
if (IsResetReminderFeatureEnable ()) {\r
if (IsResetRequired ()) {\r
\r
- StringBuffer1 = AllocateZeroPool (MAX_STRING_LEN * sizeof (CHAR16));\r
+ StringBuffer1 = AllocateCopyPool (\r
+ MAX_STRING_LEN * sizeof (CHAR16),\r
+ L"Configuration changed. Reset to apply it Now."\r
+ );\r
ASSERT (StringBuffer1 != NULL);\r
- StringBuffer2 = AllocateZeroPool (MAX_STRING_LEN * sizeof (CHAR16));\r
+ StringBuffer2 = AllocateCopyPool (\r
+ MAX_STRING_LEN * sizeof (CHAR16),\r
+ L"Press ENTER to reset"\r
+ );\r
ASSERT (StringBuffer2 != NULL);\r
- StrCpy (StringBuffer1, L"Configuration changed. Reset to apply it Now.");\r
- StrCpy (StringBuffer2, L"Press ENTER to reset");\r
//\r
// Popup a menu to notice user\r
//\r