diff options
author | Volker Lendecke <vl@samba.org> | 2011-08-26 11:38:21 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-08-26 11:42:35 +0200 |
commit | 964e809ce2069ad888e0fb12dfe51bac5a461508 (patch) | |
tree | 1092c042f314a0bba164ecd55907fe8e391aedc0 /source3 | |
parent | 099b9db4045d6d12ec9f55647def5d1af0baa3c6 (diff) | |
download | samba-964e809ce2069ad888e0fb12dfe51bac5a461508.tar.gz samba-964e809ce2069ad888e0fb12dfe51bac5a461508.tar.bz2 samba-964e809ce2069ad888e0fb12dfe51bac5a461508.zip |
s3: Use sys_read in fork_domain_child
I've seen
[2011/08/26 01:44:10.872057, 1] winbindd/winbindd_dual.c:1336(fork_domain_child)
fork_domain_child: Could not read child status: nread=-1, error=Interrupted system call
on a customer box. Not good.
Diffstat (limited to 'source3')
-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, |