diff options
Diffstat (limited to 'ArmPkg/Library/BdsLib/BdsFilePathFs.c')
-rw-r--r-- | ArmPkg/Library/BdsLib/BdsFilePathFs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Library/BdsLib/BdsFilePathFs.c b/ArmPkg/Library/BdsLib/BdsFilePathFs.c index e5792b8afd..0b7f9d39a5 100644 --- a/ArmPkg/Library/BdsLib/BdsFilePathFs.c +++ b/ArmPkg/Library/BdsLib/BdsFilePathFs.c @@ -34,8 +34,8 @@ EFI_STATUS BdsLoadFileFromSimpleFileSystem( } //Try to Open the volume and get root directory -\s\sStatus = FsProtocol->OpenVolume(FsProtocol, &Fs); -\s\sif (EFI_ERROR(Status)) { + Status = FsProtocol->OpenVolume(FsProtocol, &Fs); + if (EFI_ERROR(Status)) { return Status; } |