summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/lib/state.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-24 22:19:40 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-24 22:19:40 +0000
commitf8d9c51a364eb941f6651d1ea7d4977cb5b83ca7 (patch)
tree49ea1fabc9efa2f7229fe3fabd46a94a9cb54931 /util/libreboot-utils/lib/state.c
parentb8a045ef86ab439accc0717daeb841aa065b86d6 (diff)
util/mkhtemp: template support on util
just add a template like yo uwould on other mktemp. it works perfectly now. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/lib/state.c')
-rw-r--r--util/libreboot-utils/lib/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/lib/state.c b/util/libreboot-utils/lib/state.c
index e3cb0890..a1120906 100644
--- a/util/libreboot-utils/lib/state.c
+++ b/util/libreboot-utils/lib/state.c
@@ -128,7 +128,7 @@ xstart(int argc, char *argv[])
if (us.f.dirfd < 0)
err_no_cleanup(errno, "%s: open dir", dir);
- if (new_tmpfile(&us.f.tmp_fd, &us.f.tname, dir) < 0)
+ if (new_tmpfile(&us.f.tmp_fd, &us.f.tname, dir, NULL) < 0)
err_no_cleanup(errno, "%s", us.f.tname);
if (fs_dirname_basename(us.f.tname,