From 732401fa3e49a2327d0023c1cdeb93a6743ab24a Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 1 May 2007 15:22:27 +0000 Subject: 2007-05-01 Martin Hunt * statfs.c (main): Fix expected expression to accept both 32 and 64-bit pointers. --- testsuite/systemtap.syscall/statfs.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'testsuite/systemtap.syscall/statfs.c') diff --git a/testsuite/systemtap.syscall/statfs.c b/testsuite/systemtap.syscall/statfs.c index 791d49d3..ea33193b 100644 --- a/testsuite/systemtap.syscall/statfs.c +++ b/testsuite/systemtap.syscall/statfs.c @@ -8,26 +8,13 @@ int main() { ustat(42, (struct ustat *)0x12345678); -#if __WORDSIZE == 64 - // ustat (42, 0x0000000012345678) = -#else - // ustat (42, 0x12345678) = -#endif + // ustat (42, 0x0*12345678) = statfs("abc", (struct statfs *)0x12345678); -#if __WORDSIZE == 64 - // statfs ("abc", 0x0000000012345678) = -#else - // statfs ("abc", 0x12345678) = -#endif + // statfs ("abc", 0x0*12345678) = fstatfs(77, (struct statfs *)0x12345678); -#if __WORDSIZE == 64 - // fstatfs (77, 0x0000000012345678) = -#else - // fstatfs (77, 0x12345678) = -#endif - + // fstatfs (77, 0x0*12345678) = return 0; } -- cgit