summaryrefslogtreecommitdiffstats
path: root/libgloss/spu/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/read.c')
-rw-r--r--libgloss/spu/read.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgloss/spu/read.c b/libgloss/spu/read.c
index 178e85087..95c25b36f 100644
--- a/libgloss/spu/read.c
+++ b/libgloss/spu/read.c
@@ -31,7 +31,6 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
*/
#include <fcntl.h>
-#include <errno.h>
#include "jsre.h"
int
@@ -44,9 +43,8 @@ read (int file, void *ptr, size_t len)
sys.ptr = ( unsigned int )ptr;
sys.len = len;
- _send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_READ, &sys);
+ __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_READ, &sys);
- errno = psys_out->err;
return ( psys_out->rc);
}