diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-06 19:25:43 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-06 19:25:54 +0000 |
| commit | 1aa8f33d50666cc6ae3ddaef8636a384345f8101 (patch) | |
| tree | 7453233003d367bdeb8d4b73592904d9d571a6fc | |
| parent | 9095722079730c36c8d9fd627a7ea7580a2354c1 (diff) | |
util/nvmutil: fix bad string in gbe_read_part()
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 30bad1d5..2dee5c75 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -369,7 +369,7 @@ read_gbe(void) static void read_gbe_part(size_t p, int invert) { - read_file_PERFECTLY_or_die(fd, gbe_mem_offset(p ^ invert, "pwrite"), + read_file_PERFECTLY_or_die(fd, gbe_mem_offset(p ^ invert, "pread"), GBE_PART_SIZE, gbe_file_offset(p, "pread"), fname, "pread"); } |
