summaryrefslogtreecommitdiffstats
path: root/libgloss/spu/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/open.c')
-rw-r--r--libgloss/spu/open.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgloss/spu/open.c b/libgloss/spu/open.c
index af048a8a2..c005f1d0a 100644
--- a/libgloss/spu/open.c
+++ b/libgloss/spu/open.c
@@ -32,7 +32,6 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
#include <stdarg.h>
#include <fcntl.h>
-#include <errno.h>
#include "jsre.h"
int
@@ -81,9 +80,8 @@ open (const char *filename, int flags, ...)
sys.mode = 0;
}
- _send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_OPEN, &sys);
+ __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_OPEN, &sys);
- errno = psys_out->err;
return ( psys_out->rc);
}