summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-28 23:12:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-28 23:12:10 +0000
commit46cce26f70b5e20a46d395c77c3852b73387a83d (patch)
treebcb85b952006e05f5cf094918cd78e4540ea0e87 /cpukit
parent2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-46cce26f70b5e20a46d395c77c3852b73387a83d.tar.bz2
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/libio_sockets.c: Use rtems_set_errno_and_return_minus_one() where it was missed before.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libcsupport/src/libio_sockets.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 90b7b4aa94..e654ec3b71 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * libcsupport/src/libio_sockets.c: Use
+ rtems_set_errno_and_return_minus_one() where it was missed before.
+
+2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* libcsupport/src/__brk.c, libcsupport/src/__gettod.c,
libcsupport/src/__times.c, libcsupport/src/fchdir.c,
libcsupport/src/ftrylockfile.c, libcsupport/src/getpwent.c,
diff --git a/cpukit/libcsupport/src/libio_sockets.c b/cpukit/libcsupport/src/libio_sockets.c
index a311c5fb0b..9521620762 100644
--- a/cpukit/libcsupport/src/libio_sockets.c
+++ b/cpukit/libcsupport/src/libio_sockets.c
@@ -20,6 +20,7 @@
#include <rtems.h>
#include <errno.h>
+#include <rtems/seterr.h>
/*
* Convert an RTEMS file descriptor to a BSD socket pointer.