aboutsummaryrefslogtreecommitdiff
path: root/login/tst-grantpt.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-08-25 18:55:07 +0000
committerJakub Jelinek <jakub@redhat.com>2007-08-25 18:55:07 +0000
commitdd3394742b3e2e01f403b1c1b41ed39273b2212e (patch)
tree5fed86738b0d518989679f3194f896fc9fcebbe2 /login/tst-grantpt.c
parent9b0cdd693e7f54fd35fd58931b940efe6ccb88cd (diff)
downloadglibc-dd3394742b3e2e01f403b1c1b41ed39273b2212e.tar
glibc-dd3394742b3e2e01f403b1c1b41ed39273b2212e.tar.gz
glibc-dd3394742b3e2e01f403b1c1b41ed39273b2212e.tar.bz2
glibc-dd3394742b3e2e01f403b1c1b41ed39273b2212e.zip
Updated to fedora-glibc-20070825T1839
Diffstat (limited to 'login/tst-grantpt.c')
-rw-r--r--login/tst-grantpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login/tst-grantpt.c b/login/tst-grantpt.c
index 9b993daaca..5078dac26c 100644
--- a/login/tst-grantpt.c
+++ b/login/tst-grantpt.c
@@ -41,7 +41,7 @@ test_einval (void)
int fd, ret, err;
const char file[] = "./grantpt-einval";
- fd = open (file, O_RDWR | O_CREAT);
+ fd = open (file, O_RDWR | O_CREAT, 0600);
if (fd == -1)
{
printf ("open(\"%s\", O_RDWR) failed\nerrno %d (%s)\n",