diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-24 22:44:43 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-24 22:44:43 +0000 |
| commit | 2cee58188cafb7e9e97a357bdb34b692beca63dd (patch) | |
| tree | 85f26481141764790642f49632c254cd73cd89ae /util/libreboot-utils/lib/state.c | |
| parent | 1ed2ca6b6977a6f8edea309d10bee0dbeb315d71 (diff) | |
util/nvmutil: make tmp files dotfiles
so that they are hidden. yes.
mkhtemp can take any template 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
