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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Oct 28 11:06:26 2014 +0100

alchemy/pipe: add missing wrapping to Cobalt

---

 lib/alchemy/pipe.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/alchemy/pipe.c b/lib/alchemy/pipe.c
index 93da9be..439a00f 100644
--- a/lib/alchemy/pipe.c
+++ b/lib/alchemy/pipe.c
@@ -166,8 +166,8 @@ int rt_pipe_create(RT_PIPE *pipe,
        }
 
        if (poolsize > 0) {
-               ret = setsockopt(pcb->sock, SOL_XDDP, XDDP_POOLSZ,
-                                &poolsize, sizeof(poolsize));
+               ret = __RT(setsockopt(pcb->sock, SOL_XDDP, XDDP_POOLSZ,
+                                     &poolsize, sizeof(poolsize)));
                if (ret)
                        goto fail_sockopt;
        }
@@ -181,7 +181,7 @@ int rt_pipe_create(RT_PIPE *pipe,
        memset(&saddr, 0, sizeof(saddr));
        saddr.sipc_family = AF_RTIPC;
        saddr.sipc_port = minor;
-       ret = bind(sock, (struct sockaddr *)&saddr, sizeof(saddr));
+       ret = __RT(bind(sock, (struct sockaddr *)&saddr, sizeof(saddr)));
        if (ret)
                goto fail_sockopt;
 


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

Reply via email to