From: Jakub Jelinek Date: Fri, 17 Aug 2007 06:28:40 +0000 (+0000) Subject: * login/tst-grantpt.c (test_einval): Add 3rd argument to open. X-Git-Tag: cvs/fedora-glibc-20070825T1839~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42282d570b66cbf8fabe2a51fe630985db1d04be;p=platform%2Fupstream%2Fglibc.git * login/tst-grantpt.c (test_einval): Add 3rd argument to open. 2007-08-17 Jakub Jelinek * login/tst-grantpt.c (test_einval): Add 3rd argument to open. --- diff --git a/ChangeLog b/ChangeLog index d7a6c40..6c1eaeb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-08-17 Jakub Jelinek + + * login/tst-grantpt.c (test_einval): Add 3rd argument to open. + 2007-08-16 Jakub Jelinek * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u 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",