summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-02-10 20:27:48 +0000
committerLeah Rowe <leah@libreboot.org>2025-02-10 20:27:48 +0000
commitd2cb954933b24be9eb95d832cf25df13361afafd (patch)
tree267d24d80128241961d758c46a8bd78f5103b765
parente1e515bd22ad8452e73404d7dc9b291938ae7010 (diff)
util/nvmutil: Fix bad error messages on R/W
The messages didn't really make sense. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 499ae65e..f51bafeb 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -248,7 +248,7 @@ readGbe(void)
err_if(nr == -1);
if (nr != nf)
err(errno == ECANCELED,
- "%ld bytes written on '%s', expected %ld bytes\n",
+ "%ld bytes read from '%s', expected %ld bytes\n",
nr, filename, nf);
tnr += nr;
@@ -475,7 +475,7 @@ writeGbe(void)
err_if(nw == -1);
if (nw != nf)
err(errno == ECANCELED,
- "%ld bytes written on '%s', expected %ld bytes\n",
+ "%ld bytes written to '%s', expected %ld bytes\n",
nw, filename, nf);
tnw += nf;