[LTP] [COMMITTED PATCH] mmap1: include lapi/abisize.h header file
Li Wang
liwang@redhat.com
Thu Nov 28 09:29:45 CET 2019
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"
#include "tst_safe_pthread.h"
#ifdef TST_ABI32
--
2.20.1
More information about the ltp
mailing list