diff options
Diffstat (limited to 'libgloss/spu/write.c')
-rw-r--r-- | libgloss/spu/write.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libgloss/spu/write.c b/libgloss/spu/write.c index 4952f670c..eec559e97 100644 --- a/libgloss/spu/write.c +++ b/libgloss/spu/write.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 @@ write (int file, const void *ptr, size_t len) sys.ptr = ( unsigned int )ptr; sys.len = len; - _send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_WRITE, &sys); + __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_WRITE, &sys); - errno = psys_out->err; return ( psys_out->rc); } |