summaryrefslogtreecommitdiff
path: root/openbsd-compat/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-09-10 13:20:14 +1000
committerDarren Tucker <dtucker@zip.com.au>2007-09-10 13:20:14 +1000
commite296d58dcfbc9b072e4998580552b30e3723cbd6 (patch)
tree306a904eec278e021e0c30b0bce332445bbe4a24 /openbsd-compat/regress
parentac4ee1eb0f8fe5dbb61523060a86b0a8fa2e029b (diff)
- (dtucker) [openbsd-compat/regress/closefromtest.c] Bug #1358: Always
return 0 on successful test. From David.Leonard at quest com.
Diffstat (limited to 'openbsd-compat/regress')
-rw-r--r--openbsd-compat/regress/closefromtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/regress/closefromtest.c b/openbsd-compat/regress/closefromtest.c
index bb129fa1..145b09d7 100644
--- a/openbsd-compat/regress/closefromtest.c
+++ b/openbsd-compat/regress/closefromtest.c
@@ -57,4 +57,5 @@ main(void)
for (i = 0; i < NUM_OPENS; i++)
if (close(fds[i]) != -1)
fail("failed to close from lowest fd");
+ return 0;
}