summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/lib/word.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-04-01 10:03:41 +0100
committerLeah Rowe <leah@libreboot.org>2026-04-01 10:03:41 +0100
commit861f56375aee4291285e8c853896044ce04343cd (patch)
treeb9ed6e8ae1a8d0504036e4c45827df4b82dd4658 /util/libreboot-utils/lib/word.c
parentd91dd0ad81f041e725599665d23c16d8c9f35b75 (diff)
libreboot-utils: fix ALL compiler warnings
i wasn't using strict mode enough in make: make strict now it compiles cleanly. mostly removing unused variables, fixing implicit conversions, etc. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/lib/word.c')
-rw-r--r--util/libreboot-utils/lib/word.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/lib/word.c b/util/libreboot-utils/lib/word.c
index 85e1d88b..45ac3d48 100644
--- a/util/libreboot-utils/lib/word.c
+++ b/util/libreboot-utils/lib/word.c
@@ -63,6 +63,6 @@ check_nvm_bound(size_t c, size_t p)
check_bin(p, "part number");
if (c >= NVM_WORDS)
- err_exit(ECANCELED, "check_nvm_bound: out of bounds %lu",
+ exitf("check_nvm_bound: out of bounds %lu",
(size_t)c);
}