diff options
Diffstat (limited to 'libio/tst-mmap2-eofsync.c')
-rw-r--r-- | libio/tst-mmap2-eofsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/tst-mmap2-eofsync.c b/libio/tst-mmap2-eofsync.c index f3699656ab..05dedb8c20 100644 --- a/libio/tst-mmap2-eofsync.c +++ b/libio/tst-mmap2-eofsync.c @@ -20,7 +20,7 @@ static char *pages; static void do_prepare (void) { - pages = malloc (getpagesize () * 2); + pages = xmalloc (getpagesize () * 2); memset (pages, 'a', getpagesize ()); memset (pages + getpagesize (), 'b', getpagesize ()); |