X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellBcfgCommandLib%2FUefiShellBcfgCommandLib.c;h=028f8523cd1d4db3e64628e16a86475c753b282e;hb=898962530445979706a2c17e2f8a8c5a573e4e77;hp=ca7ecd17519f85e155f7017c3f41ed004cf4f8d6;hpb=5a5a659092ebc3936ecd18c3b78c6fc850d4af1c;p=mirror_edk2.git diff --git a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c index ca7ecd1751..028f8523cd 100644 --- a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c +++ b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c @@ -1133,7 +1133,7 @@ BcfgDisplayDump( VariableName, Description, DevPathString, - OptionalDataOffset <= BufferSize ? L'N' : L'Y' + OptionalDataOffset >= BufferSize ? L'N' : L'Y' ); if (VerboseOutput) { for (LoopVar2 = OptionalDataOffset; LoopVar2 < BufferSize; LoopVar2++){