From 2cee58188cafb7e9e97a357bdb34b692beca63dd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 24 Mar 2026 22:44:43 +0000 Subject: util/nvmutil: make tmp files dotfiles so that they are hidden. yes. mkhtemp can take any template now Signed-off-by: Leah Rowe --- util/libreboot-utils/lib/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/libreboot-utils/lib/state.c') diff --git a/util/libreboot-utils/lib/state.c b/util/libreboot-utils/lib/state.c index 409c2544..4ef7163f 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, NULL) < 0) + if (new_tmpfile(&us.f.tmp_fd, &us.f.tname, dir, ".gbe.XXXXXXXXXX") < 0) err_no_cleanup(errno, "%s", us.f.tname); if (fs_dirname_basename(us.f.tname, -- cgit v1.2.1