lbutils/file: rename rw_file_exact

call it rw_exact, so that it's closer to
the name rw. it matches naming more closely;
the alternative was to call rw rw_file

but read/write can handle more than just files!

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-04-01 16:20:12 +01:00
parent f68cedf202
commit fb81b7b736
4 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -492,7 +492,7 @@ cat_buf(unsigned char *b)
if (b == NULL)
exitf("null pointer in cat command");
if (rw_file_exact(STDOUT_FILENO, b,
if (rw_exact(STDOUT_FILENO, b,
GBE_PART_SIZE, 0, IO_WRITE) < 0)
exitf("stdout: cat");
}