summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-04-21 06:42:08 +0100
committerLeah Rowe <leah@libreboot.org>2026-04-21 06:42:08 +0100
commit4b5aca8ff89bf46538a59bb55512dedeedbf1cbb (patch)
tree57125771e9309ad97d959073b2796f9fbc23cf7d /util
parente097eb5483b00631ef49353a22a73c2c48939d95 (diff)
now mkhtemp works on openbsd!
yay Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/libreboot-utils/mkhtemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/mkhtemp.c b/util/libreboot-utils/mkhtemp.c
index d2f32ef2..d6300f16 100644
--- a/util/libreboot-utils/mkhtemp.c
+++ b/util/libreboot-utils/mkhtemp.c
@@ -61,7 +61,7 @@ main(int argc, char *argv[])
#ifdef __OpenBSD__
/* https://man.openbsd.org/pledge.2 */
- if (pledge("stdio flock rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio flock rpath wpath cpath fattr", NULL) == -1)
exitf("pledge");
#endif