]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - posix/tst-preadwrite.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / posix / tst-preadwrite.c
index 2810448583cf1dc6a8c50da26f2687f54c11a73b..b7c16588117dae7620652e637cce2b75761415d9 100644 (file)
@@ -1,5 +1,5 @@
 /* Tests for pread and pwrite.
-   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1998-2016 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -14,9 +14,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <error.h>
@@ -53,7 +52,7 @@ int fd;
 void
 do_prepare (int argc, char *argv[])
 {
-   char name_len;
+   size_t name_len;
 
 #define FNAME FNAME2(TRUNCATE)
 #define FNAME2(s) "/" STRINGIFY(s) "XXXXXX"