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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Jan 18 11:28:25 2016 +0100

psos/rn: handle nullable references properly

---

 lib/psos/rn.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/psos/rn.c b/lib/psos/rn.c
index 05e6f5c..fa5bb57 100644
--- a/lib/psos/rn.c
+++ b/lib/psos/rn.c
@@ -265,7 +265,7 @@ starve:
                timespec = NULL;
 
        wait = threadobj_prepare_wait(struct psos_rn_wait);
-       wait->ptr = __moff(NULL);
+       wait->ptr = __moff_nullable(NULL);
        wait->size = size;
 
        ret = syncobj_wait_grant(&rn->sobj, timespec, &syns);


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

Reply via email to