diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-04-01 10:03:41 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-04-01 10:03:41 +0100 |
| commit | 861f56375aee4291285e8c853896044ce04343cd (patch) | |
| tree | b9ed6e8ae1a8d0504036e4c45827df4b82dd4658 /util/libreboot-utils/lib/checksum.c | |
| parent | d91dd0ad81f041e725599665d23c16d8c9f35b75 (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/checksum.c')
| -rw-r--r-- | util/libreboot-utils/lib/checksum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/libreboot-utils/lib/checksum.c b/util/libreboot-utils/lib/checksum.c index 97b0efca..f71bcb4f 100644 --- a/util/libreboot-utils/lib/checksum.c +++ b/util/libreboot-utils/lib/checksum.c @@ -59,10 +59,10 @@ read_checksums(void) if (_num_invalid >= _max_invalid) { if (_max_invalid == 1) - err_exit(ECANCELED, "%s: part %lu has a bad checksum", + exitf("%s: part %lu has a bad checksum", f->fname, (size_t)f->part); - err_exit(ECANCELED, "%s: No valid checksum found in file", + exitf("%s: No valid checksum found in file", f->fname); } } |
