Module: xenomai-2.5
Branch: master
Commit: 004f652d31d2e3b9b995850dbefcf12bc6dbd96d
URL:    
http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=004f652d31d2e3b9b995850dbefcf12bc6dbd96d

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Mon Aug 23 13:10:26 2010 +0200

Fix typo in edaf1e2e54343b6e4bf5cf6ece9175ec0ab21cad

---

 src/skins/common/current.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/skins/common/current.c b/src/skins/common/current.c
index 50d8a65..91a5088 100644
--- a/src/skins/common/current.c
+++ b/src/skins/common/current.c
@@ -47,7 +47,7 @@ static inline int create_current_key(void)
 
 static inline void __xeno_set_current(xnhandle_t current)
 {
-       current = (current == XN_NO_HANDLE ? current : (xnhandle_t)(0));
+       current = (current != XN_NO_HANDLE ? current : (xnhandle_t)(0));
        pthread_setspecific(xeno_current_key, (void *)current);
 }
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to