Commit Graph

2 Commits

Author SHA1 Message Date
Philippe Waroquiers
4b39d33437 Fix compilation problem when __NR_preadv2 __NR_pwritev2 are undefined
check_preadv2_pwritev2.c: In function ‘main’:
check_preadv2_pwritev2.c:12:12: error: ‘__NR_preadv2’ undeclared (first use in this function)
    syscall(__NR_preadv2, 0, NULL, 0, 0, 0);
            ^
check_preadv2_pwritev2.c:12:12: note: each undeclared identifier is reported only once for each function it appears in
check_preadv2_pwritev2.c:15:12: error: ‘__NR_pwritev2’ undeclared (first use in this function)
    syscall(__NR_pwritev2, 0, NULL, 0, 0, 0);
2019-08-17 18:27:22 +02:00
Stefan Maksimovic
0f7483d1d8 memcheck/tests/sys-preadv2_pwritev2: Check whether these syscalls are supported
[ bvanassche: changed the order of check_PROGRAMS ]
2019-08-16 18:09:44 -07:00