mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 19:23:24 +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)
|
!= SIZE_4KB)
|
||||||
err(set_err(ECANCELED),
|
err(set_err(ECANCELED),
|
||||||
"Can't read %d b from '%s' p%d", SIZE_4KB, fname, p);
|
"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
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user