[LTP] [PATCH v1 1/3] syscalls/mallinfo01: Add a basic test for mallinfo

Li Wang liwang@redhat.com
Thu Feb 4 07:42:09 CET 2021


Hi Xu,


> +static void
> +print_mallinfo(const char *msg, struct mallinfo *m)
>

What about moving this print_mallinfo() into a mallinfo_common.h file
to avoid the duplicated code in each test?

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210204/04b5897c/attachment.htm>


More information about the ltp mailing list