diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-10 16:00:16 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-10 16:00:16 +0000 |
| commit | 82dbeb9736b33f60be48faf3875850c4963a8fe3 (patch) | |
| tree | a71951930f425a51087a6fdbc23fd289ab484664 /util | |
| parent | 9ba84d1117e7f1af4b1c18a94ae4c8763d7ab525 (diff) | |
util/nvmutil: reset errno in gbe_cat
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 4 |
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; } |
