X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FCommon%2FEfiUtilityMsgs.c;h=f8d2a40be1e19a29149378157c26595cfd74b269;hb=2e351cbe8e190271b3716284fc1076551d005472;hp=44925c642ba9bd4bfa215adf00f3284b873de503;hpb=3e1497334e45d09b8eccbc24ca571308e015e995;p=mirror_edk2.git diff --git a/BaseTools/Source/C/Common/EfiUtilityMsgs.c b/BaseTools/Source/C/Common/EfiUtilityMsgs.c index 44925c642b..f8d2a40be1 100644 --- a/BaseTools/Source/C/Common/EfiUtilityMsgs.c +++ b/BaseTools/Source/C/Common/EfiUtilityMsgs.c @@ -2,13 +2,7 @@ EFI tools utility functions to display warning, error, and informational messages Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.
-This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +SPDX-License-Identifier: BSD-2-Clause-Patent --*/ @@ -21,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "EfiUtilityMsgs.h" // -// Declare module globals for keeping track of the the utility's +// Declare module globals for keeping track of the utility's // name and other settings. // STATIC STATUS mStatus = STATUS_SUCCESS; @@ -61,7 +55,7 @@ Arguments: at least something valid is not specified. FileName - name of the file or application. If not specified, then the - utilty name (as set by the utility calling SetUtilityName() + utility name (as set by the utility calling SetUtilityName() earlier) is used. Otherwise "Unknown utility" is used. LineNumber - the line number of error, typically used by parsers. If the @@ -384,7 +378,7 @@ Routine Description: Arguments: Type - "warning" or "error" string to insert into the message to be printed. The first character of this string (converted to uppercase) - is used to preceed the MessageCode value in the output string. + is used to precede the MessageCode value in the output string. FileName - name of the file where the warning was detected, or the name of the application that detected the warning @@ -597,7 +591,7 @@ Routine Description: Arguments: UtilityName - name of the utility, which will be printed with all - error/warning/debug messags. + error/warning/debug messages. Returns: NA