+2007-05-01 Martin Hunt <hunt@redhat.com>
+
+ * statfs.c (main): Fix expected expression to accept
+ both 32 and 64-bit pointers.
+
2007-04-24 David Wilder <dwilder@us.ibm.com>
* syscall.exp: Enabled 64-bit tests on s390, 32-bit test to use -m31
{
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;
}