From e37e7136a2d67d7b162a45412acbac47bbe5ea69 Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 22 Jun 2007 21:29:44 +0000 Subject: 2007-06-22 Frank Ch. Eigler * systemtap.syscall/readwrite.c: Tweak for new default string truncation width. --- testsuite/systemtap.syscall/readwrite.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuite/systemtap.syscall/readwrite.c') diff --git a/testsuite/systemtap.syscall/readwrite.c b/testsuite/systemtap.syscall/readwrite.c index 6d53207d..71d8d774 100644 --- a/testsuite/systemtap.syscall/readwrite.c +++ b/testsuite/systemtap.syscall/readwrite.c @@ -30,8 +30,8 @@ int main() write(fd,"Hello world", 11); // write (NNNN, "Hello world", 11) = 11 - write(fd,"Hello world abcdefghijklmnopqrstuvwxyz 01234567890", 50); - // write (NNNN, "Hello world abc"..., 50) = 50 + write(fd,"Hello world abcdefghijklmnopqrstuvwxyz 01234567890123456789", 59); + // write (NNNN, "Hello world abcdefghijklmnopqrstuvwxyz 012345"..., 59) = 59 writev(fd, v, 3); // writev (NNNN, XXXX, 3) = 15 @@ -43,7 +43,7 @@ int main() // lseek (NNNN, 1, SEEK_CUR) = 1 lseek(fd, -1, SEEK_END); - // lseek (NNNN, -1, SEEK_END) = 75 + // lseek (NNNN, -1, SEEK_END) = 84 #ifdef SYS__llseek syscall(SYS__llseek, fd, 1, 0, &res, SEEK_SET); -- cgit