summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-10 16:00:16 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-10 16:00:16 +0000
commit82dbeb9736b33f60be48faf3875850c4963a8fe3 (patch)
treea71951930f425a51087a6fdbc23fd289ab484664
parent9ba84d1117e7f1af4b1c18a94ae4c8763d7ab525 (diff)
util/nvmutil: reset errno in gbe_cat
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 03e42f94..9e0a1e10 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -1155,6 +1155,10 @@ gbe_cat_buf(uint8_t *b)
break;
}
+ /*
+ * No errors here.
+ * Avoid the warning in main()
+ */
errno = 0;
}