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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Oct  8 22:28:50 2013 +0200

cobalt/posix/signal: avoid compilation error

---

 kernel/cobalt/posix/signal.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/cobalt/posix/signal.c b/kernel/cobalt/posix/signal.c
index 40430ac..f1273d3 100644
--- a/kernel/cobalt/posix/signal.c
+++ b/kernel/cobalt/posix/signal.c
@@ -312,11 +312,11 @@ done:
        switch (sip->si_code) {
        case SI_TIMER:
                ret |= __xn_put_user(sip->si_tid, &u_si->si_tid);
-               ret |= __xn_put_user(sip->si_value, &u_si->si_value);
+               ret |= __xn_put_user(sip->si_ptr, &u_si->si_ptr);
                ret |= __xn_put_user(overrun, &u_si->si_overrun);
                break;
        case SI_MESGQ:
-               ret |= __xn_put_user(sip->si_value, &u_si->si_value);
+               ret |= __xn_put_user(sip->si_ptr, &u_si->si_ptr);
                /* falldown wanted. */
        case SI_USER:
                ret |= __xn_put_user(sip->si_pid, &u_si->si_pid);


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

Reply via email to