From fb81b7b736659a142d4d4b140155a6492943661e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 1 Apr 2026 16:20:12 +0100 Subject: 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 --- util/libreboot-utils/lib/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/libreboot-utils/lib/command.c') diff --git a/util/libreboot-utils/lib/command.c b/util/libreboot-utils/lib/command.c index be5e8712..3bdc4191 100644 --- a/util/libreboot-utils/lib/command.c +++ b/util/libreboot-utils/lib/command.c @@ -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"); } -- cgit v1.2.1