mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
util/nvmutil: use ECANCELED on checksum err
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -822,9 +822,9 @@ read_checksums(void)
|
||||
|
||||
if (num_invalid >= max_invalid) {
|
||||
if (max_invalid == 1)
|
||||
err(EINVAL, "%s: part %lu has a bad checksum",
|
||||
err(ECANCELED, "%s: part %lu has a bad checksum",
|
||||
fname, (unsigned long)part);
|
||||
err(EINVAL, "%s: No valid checksum found in file",
|
||||
err(ECANCELED, "%s: No valid checksum found in file",
|
||||
fname);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user