author | Olivier Brunel
<jjk@jjacky.com> 2023-05-14 07:37:29 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2023-07-05 07:37:02 UTC |
parent | 222e273a145048ec187b610f9d7e68289edcf2e0 |
src/liblimb/shldata-rw.h/shldata_write.c | +1 | -2 |
diff --git a/src/liblimb/shldata-rw.h/shldata_write.c b/src/liblimb/shldata-rw.h/shldata_write.c index 11f2093..244b22a 100644 --- a/src/liblimb/shldata-rw.h/shldata_write.c +++ b/src/liblimb/shldata-rw.h/shldata_write.c @@ -7,7 +7,6 @@ #include <limb/buffer.h> #include <limb/buffer-shldata.h> #include <limb/djbunix.h> -#include <limb/posixplz.h> #include <limb/unix-transactional.h> #include <limb/shldata-rw.h> #include <limb/siovec.h> @@ -25,7 +24,7 @@ shldata_write(int bfd, const char *file, u32 magic, u64 ver, if (!shldata_chkmagic(magic)) return 0; - b.fd = mkfiletempat(bfd, tmp, (createat_fn) (void (*)(void)) open_exclat, 0, NULL); + b.fd = open_tmpat(bfd, tmp); if (b.fd < 0) return 0; if (buffer_puthdr(&b, magic, ver) < 0)