diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-08-17 06:28:40 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-08-17 06:28:40 +0000 |
commit | 42282d570b66cbf8fabe2a51fe630985db1d04be (patch) | |
tree | ca7bffbdb624f0be55d8e15c5c3b101f2685b31c /login | |
parent | cb84d1e403cf2295307b398ab54cedc6bf9f8973 (diff) | |
download | glibc-42282d570b66cbf8fabe2a51fe630985db1d04be.zip glibc-42282d570b66cbf8fabe2a51fe630985db1d04be.tar.gz glibc-42282d570b66cbf8fabe2a51fe630985db1d04be.tar.bz2 |
* login/tst-grantpt.c (test_einval): Add 3rd argument to open.
2007-08-17 Jakub Jelinek <jakub@redhat.com>
* login/tst-grantpt.c (test_einval): Add 3rd argument to open.
Diffstat (limited to 'login')
-rw-r--r-- | login/tst-grantpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login/tst-grantpt.c b/login/tst-grantpt.c index 9b993da..5078dac 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", |