diff options
author | hunt <hunt> | 2007-06-21 04:12:06 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-06-21 04:12:06 +0000 |
commit | cb7f0d1a2afef80d045efd2150ba3721efd84c47 (patch) | |
tree | d14c94a4fdee80dd21a2742700ba1892bec352c0 /testsuite/systemtap.syscall/trunc.c | |
parent | 66f08017b92f685f9e62f76731c9cfc79a53f0b0 (diff) | |
download | systemtap-steved-cb7f0d1a2afef80d045efd2150ba3721efd84c47.tar.gz systemtap-steved-cb7f0d1a2afef80d045efd2150ba3721efd84c47.tar.xz systemtap-steved-cb7f0d1a2afef80d045efd2150ba3721efd84c47.zip |
2007-06-21 Martin Hunt <hunt@redhat.com>
* chmod.c, dir.c, mmap.c, net1.c, readwrite.c, stat.c,
sync.c, trunc.c: Eliminated hardcoded fd numbers.
Diffstat (limited to 'testsuite/systemtap.syscall/trunc.c')
-rw-r--r-- | testsuite/systemtap.syscall/trunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.syscall/trunc.c b/testsuite/systemtap.syscall/trunc.c index ff20cb39..39a524a7 100644 --- a/testsuite/systemtap.syscall/trunc.c +++ b/testsuite/systemtap.syscall/trunc.c @@ -13,7 +13,7 @@ int main() fd = creat("foobar",S_IREAD|S_IWRITE); ftruncate(fd, 1024); - // ftruncate (4, 1024) = 0 + // ftruncate (NNNN, 1024) = 0 close(fd); truncate("foobar", 2048); |