summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-18 04:14:47 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:59:42 +0000
commita4004095172643cb7170f1b841996955e967dbd5 (patch)
treefe508d43de86e5b439bb7976b82f2719cbb7cf44
parent4260327edceebd4a4b6a57a1eb2ce2023c8ac333 (diff)
util/nvmutil: fix typo in unveil call
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 969a4a2a..f89a0a31 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -242,8 +242,8 @@ main(int argc, char *argv[])
err(errno, "%s: unveil rw", f->tname);
}
- if (unveil(tname, "rwc") == -1)
- err(errno, "%s: unveil rwc", tname);
+ if (unveil(f->tname, "rwc") == -1)
+ err(errno, "%s: unveil rwc", f->tname);
if (unveil(NULL, NULL) == -1)
err(errno, "unveil block (rw)");