Use xmalloc in tst-setcontext-fpscr.c (bug 19668)

Joseph Myers joseph@codesourcery.com
Tue Feb 6 21:47:00 GMT 2018


On Tue, 6 Feb 2018, Florian Weimer wrote:

> On 02/01/2018 09:37 PM, Joseph Myers wrote:
> > -      auxv = (ElfW(auxv_t) *)malloc(getpagesize());
> > +      auxv = (ElfW(auxv_t) *) xmalloc (getpagesize ());
> 
> This is okay, but you might as well drop the cast.

Done.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list