diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-24 02:41:26 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-24 02:41:53 +0000 |
| commit | 2c21a04741eed260570c7ed3ded08c639e65a689 (patch) | |
| tree | 7f27330a1d7a59f875a4179b7a4d754d5a7da9b2 /util/sbase/libutil | |
| parent | a5eed39a76e257e4a257ddce89a1bff3618fc12a (diff) | |
util/mkhtemp: show path on error accessing it
a bit naughty the way i do it, but it works. without
this, the message gets clobbered by EINVAL due to
a bad call to vprintf in the err function.
in this way, we ensure that there is a path, and
thus the errno does not get clobbered. i also
removed the EPERM setting in the env_tmpdir
function, which also clobbered errno.
with this fix, if TMPDIR is set but invalid,
it should now show the error reliably.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/sbase/libutil')
0 files changed, 0 insertions, 0 deletions
