From 5793874efc3ea7e27875c36924d9f6c95f9f345c Mon Sep 17 00:00:00 2001 From: Stephen Roderick Date: Mon, 4 Oct 2010 21:06:37 -0400 Subject: [PATCH] macosx: Correct variable name when creating main task --- rtt/os/macosx/fosi_internal.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rtt/os/macosx/fosi_internal.cpp b/rtt/os/macosx/fosi_internal.cpp index bb5117c..29d6c71 100644 --- a/rtt/os/macosx/fosi_internal.cpp +++ b/rtt/os/macosx/fosi_internal.cpp @@ -54,7 +54,7 @@ namespace RTT // fixme check return value and bail out if necessary pthread_attr_setschedparam(&(main_task->attr), &sp); main_task->priority = sp.sched_priority; - task->wait_policy = ORO_WAIT_ABS; + main_task->wait_policy = ORO_WAIT_ABS; return 0; } -- 1.7.0.2