[LTP] [COMMITTED PATCH] mmap1: include lapi/abisize.h header file

Jan Stancek jstancek@redhat.com
Thu Nov 28 09:35:05 CET 2019


----- Original Message -----
> To get rid of this BROK on i686:
>  mmap1.c:204: BROK: mmap((nil),2147483648,3,34,-1,0) failed: ENOMEM (12)
> 
> Reported-by: Zhijun Wang <zhijwang@redhat.com>
> Signed-off-by: Li Wang <liwang@redhat.com>
> ---
>  testcases/kernel/mem/mtest06/mmap1.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/testcases/kernel/mem/mtest06/mmap1.c
> b/testcases/kernel/mem/mtest06/mmap1.c
> index c5417444f..5c7d3df2f 100644
> --- a/testcases/kernel/mem/mtest06/mmap1.c
> +++ b/testcases/kernel/mem/mtest06/mmap1.c
> @@ -30,6 +30,7 @@
>  #include <stdlib.h>
>  #include "lapi/abisize.h"
>  #include "tst_test.h"
> +#include "lapi/abisize.h"

This sounds familiar:
  74d9fe32fda9 ("mtest06/mmap1: add missing lapi/abisize.h include")



More information about the ltp mailing list