Fix rt/tst-aio64.c as well, and mention login/tst-utmp.c in ChangeLog

(it was fixed in previous commit).
This commit is contained in:
Paul Pluzhnikov 2016-06-11 14:59:27 -07:00
parent 850c67606e
commit 0677af20bb
2 changed files with 3 additions and 1 deletions

View File

@ -7,11 +7,13 @@
* io/tst-fcntl.c (do_prepare): Likewise.
* libio/tst-fopenloc.c (do_bz17916): Likewise.
* libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
* login/tst-utmp.c (do_prepare): Likewise.
* posix/tst-exec.c (do_prepare): Likewise.
* posix/tst-pathconf.c (prepare): Likewise.
* posix/tst-spawn.c (do_prepare): Likewise.
* posix/tst-truncate.c (do_prepare): Likewise.
* rt/tst-aio.c (do_prepare): Likewise.
* rt/tst-aio64.c (do_prepare): Likewise.
2016-06-11 Florian Weimer <fweimer@redhat.com>

View File

@ -52,7 +52,7 @@ do_prepare (int argc, char *argv[])
size_t name_len;
name_len = strlen (test_dir);
name = malloc (name_len + sizeof ("/aioXXXXXX"));
name = xmalloc (name_len + sizeof ("/aioXXXXXX"));
mempcpy (mempcpy (name, test_dir, name_len),
"/aioXXXXXX", sizeof ("/aioXXXXXX"));