mirror of https://github.com/acidanthera/audk.git
EdkCompatibilityPkg/PrintLite: Fix ErrorPrint() wrong NULL char check
- '\0' -> NULL - https://bugzilla.tianocore.org/show_bug.cgi?id=47 Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
b782753fa2
commit
9cc42a9242
|
@ -101,7 +101,7 @@ Returns:
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (ErrorString != '\0') {
|
||||
if (ErrorString != NULL) {
|
||||
if (gST->StdErr != NULL) {
|
||||
//
|
||||
// To be extra safe make sure StdErr has been initialized
|
||||
|
|
Loading…
Reference in New Issue