diff options
-rw-r--r-- | Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c b/Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c index b6dc54f53b..e6e1007ced 100644 --- a/Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c +++ b/Platform/Marvell/Applications/SpiTool/SpiFlashCmd.c @@ -378,7 +378,7 @@ EFI_STATUS Status; FilePath = (CHAR16 *) FileStr;
Status = ShellIsFile (FilePath);
// When read file into flash, file doesn't have to exist
- if (EFI_ERROR(Status && !(Flag & READ_FILE))) {
+ if (EFI_ERROR (Status) && !(Flag & READ_FILE)) {
Print (L"sf: Wrong FilePath parameter!\n");
return SHELL_ABORTED;
}
|