summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/nbench/vfs_nbench.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c
index e6f725a7908..c3e0a4257cf 100644
--- a/source4/ntvfs/nbench/vfs_nbench.c
+++ b/source4/ntvfs/nbench/vfs_nbench.c
@@ -26,6 +26,7 @@
#include "includes.h"
#include "ntvfs/ntvfs.h"
#include "system/filesys.h"
+#include "lib/util/sys_rw.h"
NTSTATUS ntvfs_nbench_init(void);
@@ -56,7 +57,7 @@ static void nbench_log(struct ntvfs_request *req,
return;
}
- write(nprivates->log_fd, s, strlen(s));
+ sys_write_v(nprivates->log_fd, s, strlen(s));
free(s);
}