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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Nov  9 15:30:50 2015 +0100

lib/cobalt: add details about failing init step

---

 lib/cobalt/init.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/cobalt/init.c b/lib/cobalt/init.c
index ea8609c..4e2ea07 100644
--- a/lib/cobalt/init.c
+++ b/lib/cobalt/init.c
@@ -222,8 +222,8 @@ int cobalt_init(void)
 
        ret = __RT(pthread_setschedparam(ptid, policy, &parm));
        if (ret) {
-               early_warning("pthread_setschedparam failed (prio=%d)",
-                       __cobalt_main_prio);
+               early_warning("pthread_setschedparam failed { policy=%d, 
prio=%d }",
+                             policy, parm.sched_priority);
                return -ret;
        }
 


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

Reply via email to