]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/examples/sys/migrate/thread_migrate.cc
Update
[l4.git] / l4 / pkg / examples / sys / migrate / thread_migrate.cc
index 9ff4b2ac77d8c7108d89f95c2335c801ff59912e..52573704e44f2f5f6a4091c328caafff7aebd817 100644 (file)
@@ -73,7 +73,7 @@ static int create_threads(void)
       if (pthread_create(&t, NULL, thread_fn, NULL))
         return 1;
 
-      threads[i] = L4::Cap<L4::Thread>(pthread_getl4cap(t));
+      threads[i] = L4::Cap<L4::Thread>(pthread_l4_cap(t));
     }
   printf("Created %d threads.\n", NR_THREADS);
   return 0;