diff options
Diffstat (limited to 'libgloss/spu/write.c')
-rw-r--r-- | libgloss/spu/write.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libgloss/spu/write.c b/libgloss/spu/write.c index eec559e97..c9663429c 100644 --- a/libgloss/spu/write.c +++ b/libgloss/spu/write.c @@ -37,14 +37,9 @@ int write (int file, const void *ptr, size_t len) { syscall_write_t sys; - syscall_out_t *psys_out = ( syscall_out_t* )&sys; sys.file = file; sys.ptr = ( unsigned int )ptr; sys.len = len; - - __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_WRITE, &sys); - - return ( psys_out->rc); + return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_WRITE, &sys); } - |