diff options
-rw-r--r-- | source3/winbindd/winbindd_dual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index 5bf90b1222..47de902a5f 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -1329,7 +1329,7 @@ static bool fork_domain_child(struct winbindd_child *child) close(fdpair[0]); - nread = read(fdpair[1], &status, sizeof(status)); + nread = sys_read(fdpair[1], &status, sizeof(status)); if (nread != sizeof(status)) { DEBUG(1, ("fork_domain_child: Could not read child status: " "nread=%d, error=%s\n", (int)nread, |