summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
index d8374850fb..d2f7046de0 100644
--- a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
+++ b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
@@ -73,7 +73,7 @@ STATIC
EFI_STATUS
GetNicName (
IN EFI_HANDLE ControllerHandle,
- IN UINTN Index,
+ IN UINTN NicNumber,
OUT CHAR16 *NicName
);
@@ -524,7 +524,7 @@ ShellCommandRunTftp (
);
}
- if ((UserNicName != NULL) && (NicFound == FALSE)) {
+ if ((UserNicName != NULL) && (!NicFound)) {
ShellPrintHiiEx (
-1, -1, NULL, STRING_TOKEN (STR_TFTP_ERR_NIC_NOT_FOUND),
gShellTftpHiiHandle, UserNicName