mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
* 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.
This commit is contained in:
parent
cb84d1e403
commit
42282d570b
@ -1,3 +1,7 @@
|
||||
2007-08-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* login/tst-grantpt.c (test_einval): Add 3rd argument to open.
|
||||
|
||||
2007-08-16 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user