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:
Leah Rowe
2026-03-03 13:23:20 +00:00
parent 50942a7a15
commit 3bdefad097
+1 -1
View File
@@ -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