util/nvmutil: better error message for bin check

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-08 23:06:01 +00:00
parent 4d6732dade
commit 70da9c3940
+1 -1
View File
@@ -1127,7 +1127,7 @@ static void
check_bin(size_t a, const char *a_name)
{
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