summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/lib/checksum.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-24 22:27:04 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-24 22:44:27 +0000
commit1ed2ca6b6977a6f8edea309d10bee0dbeb315d71 (patch)
treebb2bb13193dc1e971a783cb974cdcd38c4f941e6 /util/libreboot-utils/lib/checksum.c
parent4fc4946f3c257bb5228df0a8393316b1119c6712 (diff)
util/libreboot-utils: rename err() to b0rk()
it behaves a bit differently than err(), so it's not good to confuse readers 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/libreboot-utils/lib/checksum.c b/util/libreboot-utils/lib/checksum.c
index b417dc7e..9a041989 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(ECANCELED, "%s: part %lu has a bad checksum",
+ b0rk(ECANCELED, "%s: part %lu has a bad checksum",
f->fname, (size_t)f->part);
- err(ECANCELED, "%s: No valid checksum found in file",
+ b0rk(ECANCELED, "%s: No valid checksum found in file",
f->fname);
}
}