summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-18 04:14:47 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-18 04:14:47 +0000
commitfb9e66036724ede10006f23b9b03b8866d780414 (patch)
tree22f384d2d3336dc9c1f3b2f0cb389b4647ebacf1 /util
parent410408cecea38efd3508fcd40b8199fc72839017 (diff)
util/nvmutil: fix typo in unveil call
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-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)");