Skip to contentSkip to conversation

LTP tip busted for x86_64 + glibc !

LTP Vineet Gupta 1 participant 1 message Feb 15, 2017

lore
Share & tools
lore
#0 lore raw

It seems I need the following fixups

------->

(quoted diff) +0 -0

b/testcases/kernel/syscalls/preadv/preadv.h
index f3ac30db3e02..8c48d3a7c05b 100644

testcases/kernel/syscalls/preadv/preadv.h +1 -1
@@ -22,7 +22,7 @@
 #include "linux_syscall_numbers.h"
 
 #if !defined(HAVE_PREADV)
-int preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset)
+ssize_t preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset)
 {
        return tst_syscall(__NR_preadv, fd, iov, iovcnt, offset);
 }
(quoted diff) +0 -0

b/testcases/kernel/syscalls/pwritev/pwritev.h
index 4970036efec1..9a2a3a8b0c6f 100644

testcases/kernel/syscalls/pwritev/pwritev.h +1 -1
@@ -22,7 +22,7 @@
 #include "linux_syscall_numbers.h"
 
 #if !defined(HAVE_PWRITEV)
-int pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset)
+ssize_t pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset)
 {
        return tst_syscall(__NR_pwritev, fd, iov, iovcnt, offset);