summaryrefslogtreecommitdiffstats
path: root/libgloss/spu/lseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/lseek.c')
-rw-r--r--libgloss/spu/lseek.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgloss/spu/lseek.c b/libgloss/spu/lseek.c
index 7c3f451ea..e4e1754fa 100644
--- a/libgloss/spu/lseek.c
+++ b/libgloss/spu/lseek.c
@@ -31,7 +31,6 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
*/
#include <unistd.h>
-#include <errno.h>
#include "jsre.h"
off_t
@@ -55,9 +54,8 @@ lseek (int file, off_t offset, int whence)
break;
}
- _send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_LSEEK, &sys);
+ __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_LSEEK, &sys);
- errno = psys_out->err;
return ( psys_out->rc);
}