From cb7f0d1a2afef80d045efd2150ba3721efd84c47 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 21 Jun 2007 04:12:06 +0000 Subject: 2007-06-21 Martin Hunt * chmod.c, dir.c, mmap.c, net1.c, readwrite.c, stat.c, sync.c, trunc.c: Eliminated hardcoded fd numbers. --- testsuite/systemtap.syscall/stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.syscall/stat.c') diff --git a/testsuite/systemtap.syscall/stat.c b/testsuite/systemtap.syscall/stat.c index 16161093..1b31d816 100644 --- a/testsuite/systemtap.syscall/stat.c +++ b/testsuite/systemtap.syscall/stat.c @@ -20,10 +20,10 @@ int main() // getcwd (XXXX, 128) = NNNN fd = creat("foobar",S_IREAD|S_IWRITE); - // open ("foobar", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 4 + // open ("foobar", O_WRONLY|O_CREAT|O_TRUNC, 0600) = NNNN fstat(fd, &sbuf); - // fstat (4, XXXX) = 0 + // fstat (NNNN, XXXX) = 0 close(fd); -- cgit