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:
Song, BinX 2016-11-02 10:09:26 +08:00 committed by Liming Gao
parent b782753fa2
commit 9cc42a9242
1 changed files with 1 additions and 1 deletions

View File

@ -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