diff options
-rw-r--r-- | EmulatorPkg/Unix/Host/PosixFileSystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EmulatorPkg/Unix/Host/PosixFileSystem.c b/EmulatorPkg/Unix/Host/PosixFileSystem.c index ae3fe72a05..b69d3d5520 100644 --- a/EmulatorPkg/Unix/Host/PosixFileSystem.c +++ b/EmulatorPkg/Unix/Host/PosixFileSystem.c @@ -1187,7 +1187,7 @@ PosixFileSetInfo ( }
OldFileName = malloc (AsciiStrSize (PrivateFile->FileName));
- if (OldFileInfo == NULL) {
+ if (OldFileName == NULL) {
goto Done;
}
|