]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Common/EfiUtilityMsgs.c
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / C / Common / EfiUtilityMsgs.c
index 44925c642ba9bd4bfa215adf00f3284b873de503..f8d2a40be1e19a29149378157c26595cfd74b269 100644 (file)
@@ -2,13 +2,7 @@
 EFI tools utility functions to display warning, error, and informational messages\r
 \r
 Copyright (c) 2004 - 2017, 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
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 --*/\r
 \r
@@ -21,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include "EfiUtilityMsgs.h"\r
 \r
 //\r
-// Declare module globals for keeping track of the the utility's\r
+// Declare module globals for keeping track of the utility's\r
 // name and other settings.\r
 //\r
 STATIC STATUS mStatus                 = STATUS_SUCCESS;\r
@@ -61,7 +55,7 @@ Arguments:
   at least something valid is not specified.\r
 \r
   FileName - name of the file or application. If not specified, then the\r
-             utilty name (as set by the utility calling SetUtilityName()\r
+             utility name (as set by the utility calling SetUtilityName()\r
              earlier) is used. Otherwise "Unknown utility" is used.\r
 \r
   LineNumber - the line number of error, typically used by parsers. If the\r
@@ -384,7 +378,7 @@ Routine Description:
 Arguments:\r
   Type        - "warning" or "error" string to insert into the message to be\r
                 printed. The first character of this string (converted to uppercase)\r
-                is used to preceed the MessageCode value in the output string.\r
+                is used to precede the MessageCode value in the output string.\r
 \r
   FileName    - name of the file where the warning was detected, or the name\r
                 of the application that detected the warning\r
@@ -597,7 +591,7 @@ Routine Description:
 \r
 Arguments:\r
   UtilityName  -  name of the utility, which will be printed with all\r
-                  error/warning/debug messags.\r
+                  error/warning/debug messages.\r
 \r
 Returns:\r
   NA\r