]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
ShellPkg: BcfgDisplayDump(): address FilePathListLength by name
authorLaszlo Ersek <lersek@redhat.com>
Thu, 21 Jan 2016 18:40:13 +0000 (18:40 +0000)
committerlersek <lersek@Edk2>
Thu, 21 Jan 2016 18:40:13 +0000 (18:40 +0000)
commit3b6b1105cf31a3547d6157e912d72ec9ddc69a4b
tree5c36b000b56c11c0345648ba71007887f2730b5d
parente5945ef78463a2a90631c91e9f8cff109fd20625
ShellPkg: BcfgDisplayDump(): address FilePathListLength by name

The Buffer variable points at the beginning of an EFI_LOAD_OPTION
structure. We might as well address the "FilePathListLength" member by
name, rather than with *(UINT16*)(Buffer+4).

This patch is not supposed to change behavior.

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19711 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c