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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Dec 19 15:35:45 2013 +0100

testsuite/sched-tp: fix priority level of test thread

---

 testsuite/unit/sched-tp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/unit/sched-tp.c b/testsuite/unit/sched-tp.c
index 5af1688..d051238 100644
--- a/testsuite/unit/sched-tp.c
+++ b/testsuite/unit/sched-tp.c
@@ -68,7 +68,7 @@ static void cleanup(int sig)
 
 static void __create_thread(pthread_t *tid, const char *name, int seq)
 {
-       struct sched_param param;
+       struct sched_param param = { .sched_priority = 1 };
        pthread_attr_t attr;
        int ret;
 


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

Reply via email to