summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index fa2cc9fd83..81d476b1da 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -387,7 +387,7 @@ static void reinit_after_fork_pipe_handler(struct tevent_context *ev,
{
char c;
- if (read(reinit_after_fork_pipe[0], &c, 1) != 1) {
+ if (sys_read(reinit_after_fork_pipe[0], &c, 1) != 1) {
/*
* we have reached EOF on stdin, which means the
* parent has exited. Shutdown the server