aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/testcshared/main2.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/testcshared/main2.c')
-rw-r--r--misc/cgo/testcshared/main2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/testcshared/main2.c b/misc/cgo/testcshared/main2.c
index 9752006f79..6e8bf141ca 100644
--- a/misc/cgo/testcshared/main2.c
+++ b/misc/cgo/testcshared/main2.c
@@ -21,7 +21,7 @@ int main(void) {
// The descriptor will be initialized in a thread, so we have to
// give a chance to get opened.
- for (i = 0; i < 100; i++) {
+ for (i = 0; i < 1000; i++) {
n = read(fd, buf, sizeof buf);
if (n >= 0)
break;