diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-24 18:46:36 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-24 18:46:36 +0000 |
| commit | c1befbcd3eb4a51831260c7c7b743a673512e6a5 (patch) | |
| tree | 04fee08997783de473bdd69d12f6b6cfc4c2b558 /util/libreboot-utils/mkhtemp.c | |
| parent | 6593e76c6a17d1e0cb82a2f29e832348fa9aa5ca (diff) | |
util/nvmutil: never do cross-filesystem moves
make a local TMPDIR instead, where gbe.bin is.
this avoids the EXDEV errno, so we don't have
to handle it, and it's just better performant
for everyone.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/mkhtemp.c')
| -rw-r--r-- | util/libreboot-utils/mkhtemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/mkhtemp.c b/util/libreboot-utils/mkhtemp.c index b70a1884..c289c5b4 100644 --- a/util/libreboot-utils/mkhtemp.c +++ b/util/libreboot-utils/mkhtemp.c @@ -106,7 +106,7 @@ main(int argc, char *argv[]) } } - if (new_tmp_common(&fd, &s, type) < 0) + if (new_tmp_common(&fd, &s, type, NULL) < 0) err_no_cleanup(errno, "%s", s); #if defined(__OpenBSD__) && defined(OpenBSD) |
