summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-03 16:45:54 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-03 16:45:54 +0000
commit531f0c9d38de4ebb220eb7d0fca169c60fe5a030 (patch)
tree9e891a64191675670ffb64e8464bc6fb600a32ed /util/nvmutil
parentb03a532c7dfee56c2be005d4319a205ddd761ed0 (diff)
util/nvmutil: fix style inconsistency
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/nvmutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 300ba040..fcc5e829 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -465,7 +465,8 @@ cmd_copy(void)
}
static void
-cmd_swap(void) {
+cmd_swap(void)
+{
err_if(!(good_checksum(0) || good_checksum(1)));
errno = 0;