From c1befbcd3eb4a51831260c7c7b743a673512e6a5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 24 Mar 2026 18:46:36 +0000 Subject: 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 --- util/libreboot-utils/mkhtemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/libreboot-utils/mkhtemp.c') 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) -- cgit v1.2.1