]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make output more thread-independent.
authorNicholas Nethercote <n.nethercote@gmail.com>
Wed, 21 Jan 2004 17:40:16 +0000 (17:40 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Wed, 21 Jan 2004 17:40:16 +0000 (17:40 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2220

memcheck/tests/threadederrno.c
memcheck/tests/threadederrno.stdout.exp

index 747893b118117e02bb0ead29a46dabcbbb55bb33..3cad5fbfda11eab1b8f943e29fc40a72de4c392a 100644 (file)
@@ -27,7 +27,7 @@ int main ( void )
   pthread_create(&tid2, NULL, &thr2, NULL);
   pthread_create(&tid3, NULL, &thr3, NULL);
   f = fopen("bogus", "r");
-  printf("f1 = %p, errno1 = %d (%s)\n", f, errno, strerror(errno));
+  printf("f  = %p, errno  = %d (%s)\n", f, errno, strerror(errno));
   pthread_join(tid2, NULL);
   pthread_join(tid3, NULL);
   return 0;
index 971d6ac2157c08d54289c141be2fa73df7135a54..671ad2af5e608d5c804abe732212bdb31dbea0ed 100644 (file)
@@ -1,3 +1,3 @@
-f1 = (nil), errno1 = 2 (No such file or directory)
+f  = (nil), errno  = 2 (No such file or directory)
 f  = (nil), errno  = 2 (No such file or directory)
 f  = (nil), errno  = 2 (No such file or directory)