]> sourceware.org Git - systemtap.git/commitdiff
2007-05-01 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Tue, 1 May 2007 15:22:27 +0000 (15:22 +0000)
committerhunt <hunt>
Tue, 1 May 2007 15:22:27 +0000 (15:22 +0000)
* statfs.c (main): Fix expected expression to accept
both 32 and 64-bit pointers.

testsuite/systemtap.syscall/ChangeLog
testsuite/systemtap.syscall/statfs.c

index 3b2470a5e9dd70afa4c3e18ea884610111c924eb..08f6a6c9c756917ebaf789736824ae60e42df4fb 100644 (file)
@@ -1,3 +1,8 @@
+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
index 791d49d378c85bf8f1bfb5991ca055ad1b20d76b..ea33193b8d6a93d2c3bc7bed9789cd66e4f08fbb 100644 (file)
@@ -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;
 }
This page took 0.028448 seconds and 5 git commands to generate.