Module: xenomai-forge
Branch: next
Commit: 6182a83b9c029ac54d528d468676f7bd29969e6f
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=6182a83b9c029ac54d528d468676f7bd29969e6f

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Jul 24 15:23:51 2013 +0200

vxworks: fix argument to task trampoline

---

 lib/vxworks/taskLib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/vxworks/taskLib.c b/lib/vxworks/taskLib.c
index a74c20c..5f2514d 100644
--- a/lib/vxworks/taskLib.c
+++ b/lib/vxworks/taskLib.c
@@ -368,7 +368,7 @@ static STATUS __taskInit(struct wind_task *task,
 
        cta.prio = cprio;
        cta.start = task_trampoline;
-       cta.arg = tcb;
+       cta.arg = task;
        cta.stacksize = stacksize;
        cta.detachstate = PTHREAD_CREATE_DETACHED;
        ret = __bt(copperplate_create_thread(&cta, &task->thobj.tid));


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to