diff options
Diffstat (limited to 'src/libunixonacid/openwritevnclose_at.c')
-rw-r--r-- | src/libunixonacid/openwritevnclose_at.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libunixonacid/openwritevnclose_at.c b/src/libunixonacid/openwritevnclose_at.c index ba1e789..5fcdc0b 100644 --- a/src/libunixonacid/openwritevnclose_at.c +++ b/src/libunixonacid/openwritevnclose_at.c @@ -2,6 +2,7 @@ #include <sys/uio.h> #include <unistd.h> + #include <skalibs/allreadwrite.h> #include <skalibs/siovec.h> #include <skalibs/djbunix.h> @@ -10,7 +11,7 @@ size_t openwritevnclose_at (int dirfd, char const *file, struct iovec const *v, unsigned int n) { size_t r ; - int fd = open_truncatb(dirfd, file) ; + int fd = openc_truncatb(dirfd, file) ; if (fd < 0) return 0 ; r = allwritev(fd, v, n) ; if (r >= siovec_len(v, n)) fsync(fd) ; |