summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdb_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ctdb_packet.c b/source3/lib/ctdb_packet.c
index 49ade4e88e..5ea1c255da 100644
--- a/source3/lib/ctdb_packet.c
+++ b/source3/lib/ctdb_packet.c
@@ -182,7 +182,7 @@ NTSTATUS ctdb_packet_fd_write(struct ctdb_packet_context *ctx)
{
ssize_t sent;
- sent = send(ctx->fd, ctx->out.data, ctx->out.length, 0);
+ sent = sys_send(ctx->fd, ctx->out.data, ctx->out.length, 0);
if (sent == -1) {
DEBUG(0, ("send failed: %s\n", strerror(errno)));