mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 04:22:15 +02:00
util/nvmutil: better error message for bin check
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -1127,7 +1127,7 @@ static void
|
|||||||
check_bin(size_t a, const char *a_name)
|
check_bin(size_t a, const char *a_name)
|
||||||
{
|
{
|
||||||
if (a > 1)
|
if (a > 1)
|
||||||
err(ECANCELED, "%s above 1", a_name);
|
err(ECANCELED, "%s must be 0 or 1, but is %zu", a_name, a);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user