From d2cb954933b24be9eb95d832cf25df13361afafd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 10 Feb 2025 20:27:48 +0000 Subject: util/nvmutil: Fix bad error messages on R/W The messages didn't really make sense. Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/nvmutil') 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; -- cgit v1.2.1