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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri May  9 10:36:08 2014 +0200

cobalt/posix/thread: fix build error w/ SCHED_WEAK disabled

---

 kernel/cobalt/posix/thread.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/posix/thread.c b/kernel/cobalt/posix/thread.c
index 2548052..4acc4c3 100644
--- a/kernel/cobalt/posix/thread.c
+++ b/kernel/cobalt/posix/thread.c
@@ -1276,7 +1276,7 @@ int cobalt_sched_max_prio(int policy)
 #ifdef CONFIG_XENO_OPT_SCHED_WEAK
                ret = XNSCHED_FIFO_MAX_PRIO;
 #else
-               ret 0;
+               ret = 0;
 #endif
                break;
        default:


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

Reply via email to