summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-09-10 05:20:14 +0200
committerDarren Tucker <dtucker@zip.com.au>2007-09-10 05:20:14 +0200
commite296d58dcfbc9b072e4998580552b30e3723cbd6 (patch)
tree306a904eec278e021e0c30b0bce332445bbe4a24 /openbsd-compat/regress
parentdon't say it twice (diff)
downloadopenssh-e296d58dcfbc9b072e4998580552b30e3723cbd6.tar.xz
openssh-e296d58dcfbc9b072e4998580552b30e3723cbd6.zip
- (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 bb129fa16..145b09d7b 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;
}