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

Yang Xu xuyang2018.jy@cn.fujitsu.com
Thu Feb 4 10:54:15 CET 2021


Hi Li
> 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?
Good suggestion. Will do it.
>
> --
> Regards,
> Li Wang





More information about the ltp mailing list