mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: readGbe: use inverted part in swap
i overlooked this in a previous modification Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -210,7 +210,7 @@ readGbe_part(int p, int invert)
|
||||
!= SIZE_4KB)
|
||||
err(set_err(ECANCELED),
|
||||
"Can't read %d b from '%s' p%d", SIZE_4KB, fname, p);
|
||||
swap(p); /* handle big-endian host CPU */
|
||||
swap(p ^ invert); /* handle big-endian host CPU */
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user