summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2013-12-29 17:00:25 (GMT)
committerGilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>2013-12-29 18:00:35 (GMT)
commit71345fe15f126ae3a596af309945d0af6edfbbbb (patch)
tree80399112bb199789172cd0b8ce3fa7fef55bd8c8
parentebc2779baa222db4a5936c3d3022803355585b8c (diff)
downloadxenomai-2.6-71345fe15f126ae3a596af309945d0af6edfbbbb.tar.bz2
posix: fix build failure when HAVE_OPEN64 is undefined.
fixes: http://autobuild.buildroot.org/results/d59/d590be34637a4043c929ce615f9db504484be435/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr>
-rw-r--r--src/skins/posix/rtdm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/skins/posix/rtdm.c b/src/skins/posix/rtdm.c
index 5840c64..d6c87dc 100644
--- a/src/skins/posix/rtdm.c
+++ b/src/skins/posix/rtdm.c
@@ -107,8 +107,9 @@ int __wrap_open64(const char *path, int oflag, ...)
107 errno = EMFILE; 107 errno = EMFILE;
108 ret = -1; 108 ret = -1;
109 } 109 }
110 }
110#endif 111#endif
111 } else { 112 else {
112 errno = -ret; 113 errno = -ret;
113 ret = -1; 114 ret = -1;
114 } 115 }
Mirror
http://xenomai.org/mirroring-xenomai-git-repositories-with-grokmirror/