Module: xenomai-gch
Branch: for-forge
Commit: 1247bd7b9949a5dce416e7d72d124f65332aca41
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=1247bd7b9949a5dce416e7d72d124f65332aca41

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

cobalt/arm: avoid compilation error

---

 kernel/cobalt/posix/signal.c |    4 ++--
 1 files 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