util/nvmutil: fix typo in unveil call

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-18 04:14:47 +00:00
parent 410408cece
commit fb9e660367

View File

@@ -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)");