diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2016-06-11 14:59:27 -0700 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2016-06-11 14:59:27 -0700 |
commit | 0677af20bb69b91469f0a89aa54bec559a5907e2 (patch) | |
tree | 4dc655cc6db91af9e99d00f7d85a054b18464b8d | |
parent | 850c67606e56e1a47fa0466e127f7b8ceda6ebe3 (diff) | |
download | glibc-0677af20bb69b91469f0a89aa54bec559a5907e2.tar glibc-0677af20bb69b91469f0a89aa54bec559a5907e2.tar.gz glibc-0677af20bb69b91469f0a89aa54bec559a5907e2.tar.bz2 glibc-0677af20bb69b91469f0a89aa54bec559a5907e2.zip |
Fix rt/tst-aio64.c as well, and mention login/tst-utmp.c in ChangeLog
(it was fixed in previous commit).
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | rt/tst-aio64.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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> diff --git a/rt/tst-aio64.c b/rt/tst-aio64.c index f67485c878..5a47e4d0d2 100644 --- a/rt/tst-aio64.c +++ b/rt/tst-aio64.c @@ -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")); |