diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/misc/fdopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/misc/fdopen.c b/test/misc/fdopen.c index f64cfb6b9..97e66de0a 100644 --- a/test/misc/fdopen.c +++ b/test/misc/fdopen.c @@ -33,7 +33,7 @@ main (int argc, char *argv[]) assert (fclose (fp) == 0); fp = NULL; - fd = open (name, O_RDWR|O_CREAT); + fd = open (name, O_RDWR|O_CREAT, 0660); assert (fd != -1); assert (lseek (fd, 5, SEEK_SET) == 5); |