summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/regress/closefromtest.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ac1a82af8..916e4f8fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
120070724 120070724
2 - (tim) [openssh.xml.in] make FMRI match what package scripts use. 2 - (tim) [openssh.xml.in] make FMRI match what package scripts use.
3 - (tim) [openbsd-compat/regress/closefromtest.c] Bug 1345: fix open() call.
4 Report/patch by David.Leonard AT quest.com
3 5
420070628 620070628
5 - (djm) bz#1325: Fix SELinux in permissive mode where it would 7 - (djm) bz#1325: Fix SELinux in permissive mode where it would
@@ -3112,4 +3114,4 @@
3112 OpenServer 6 and add osr5bigcrypt support so when someone migrates 3114 OpenServer 6 and add osr5bigcrypt support so when someone migrates
3113 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 3115 passwords between UnixWare and OpenServer they will still work. OK dtucker@
3114 3116
3115$Id: ChangeLog,v 1.4712 2007/07/24 20:13:42 tim Exp $ 3117$Id: ChangeLog,v 1.4713 2007/07/25 03:54:09 tim Exp $
diff --git a/openbsd-compat/regress/closefromtest.c b/openbsd-compat/regress/closefromtest.c
index feb1b567d..bb129fa16 100644
--- a/openbsd-compat/regress/closefromtest.c
+++ b/openbsd-compat/regress/closefromtest.c
@@ -38,7 +38,7 @@ main(void)
38 char buf[512]; 38 char buf[512];
39 39
40 for (i = 0; i < NUM_OPENS; i++) 40 for (i = 0; i < NUM_OPENS; i++)
41 if ((fds[i] = open("/dev/null", "r")) == -1) 41 if ((fds[i] = open("/dev/null", O_RDONLY)) == -1)
42 exit(0); /* can't test */ 42 exit(0); /* can't test */
43 max = i - 1; 43 max = i - 1;
44 44