mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
util/nvmutil: fix if (PWRITE)
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -1970,7 +1970,7 @@ real_pread_pwrite:
|
||||
r = read(fd, mem, nrw);
|
||||
#if defined(HAVE_REAL_PREAD_PWRITE) && \
|
||||
HAVE_REAL_PREAD_PWRITE > 0
|
||||
else if (rw_type == IO_WRITE)
|
||||
else if (rw_type == IO_PWRITE)
|
||||
r = pwrite(fd, mem, nrw, off);
|
||||
else if (rw_type == IO_PREAD)
|
||||
r = pread(fd, mem, nrw, off);
|
||||
|
||||
Reference in New Issue
Block a user