summaryrefslogtreecommitdiff
path: root/src/libstddjb/openwritevnclose_unsafe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/openwritevnclose_unsafe.c')
-rw-r--r--src/libstddjb/openwritevnclose_unsafe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/openwritevnclose_unsafe.c b/src/libstddjb/openwritevnclose_unsafe.c
index f3e6a6a..d707fb0 100644
--- a/src/libstddjb/openwritevnclose_unsafe.c
+++ b/src/libstddjb/openwritevnclose_unsafe.c
@@ -8,7 +8,7 @@
int openwritevnclose_unsafe_internal (char const *fn, struct iovec const *v, unsigned int vlen, dev_t *dev, ino_t *ino, int dosync)
{
- int fd = open_trunc(fn) ;
+ int fd = open_trunccoe(fn) ;
if (fd < 0) return 0 ;
if (!writevnclose_unsafe_internal(fd, v, vlen, dev, ino, dosync))
{