diff options
author | fche <fche> | 2007-06-22 21:29:44 +0000 |
---|---|---|
committer | fche <fche> | 2007-06-22 21:29:44 +0000 |
commit | e37e7136a2d67d7b162a45412acbac47bbe5ea69 (patch) | |
tree | dc226014d08b4f7e4621a987e4b83777661f3a6b /testsuite/systemtap.syscall/readwrite.c | |
parent | 18acf318364cb5337629df5afe1f304952f0e19e (diff) | |
download | systemtap-steved-e37e7136a2d67d7b162a45412acbac47bbe5ea69.tar.gz systemtap-steved-e37e7136a2d67d7b162a45412acbac47bbe5ea69.tar.xz systemtap-steved-e37e7136a2d67d7b162a45412acbac47bbe5ea69.zip |
2007-06-22 Frank Ch. Eigler <fche@elastic.org>
* systemtap.syscall/readwrite.c: Tweak for new default string truncation width.
Diffstat (limited to 'testsuite/systemtap.syscall/readwrite.c')
-rw-r--r-- | testsuite/systemtap.syscall/readwrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |