diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-09-10 13:20:14 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-09-10 13:20:14 +1000 |
commit | e296d58dcfbc9b072e4998580552b30e3723cbd6 (patch) | |
tree | 306a904eec278e021e0c30b0bce332445bbe4a24 /openbsd-compat | |
parent | ac4ee1eb0f8fe5dbb61523060a86b0a8fa2e029b (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')
-rw-r--r-- | openbsd-compat/regress/closefromtest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/regress/closefromtest.c b/openbsd-compat/regress/closefromtest.c index bb129fa16..145b09d7b 100644 --- a/openbsd-compat/regress/closefromtest.c +++ b/openbsd-compat/regress/closefromtest.c | |||
@@ -57,4 +57,5 @@ main(void) | |||
57 | for (i = 0; i < NUM_OPENS; i++) | 57 | for (i = 0; i < NUM_OPENS; i++) |
58 | if (close(fds[i]) != -1) | 58 | if (close(fds[i]) != -1) |
59 | fail("failed to close from lowest fd"); | 59 | fail("failed to close from lowest fd"); |
60 | return 0; | ||
60 | } | 61 | } |