summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/puts.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/puts.c')
-rw-r--r--newlib/libc/machine/spu/puts.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libc/machine/spu/puts.c b/newlib/libc/machine/spu/puts.c
index b5ed3d2bb..06f4b87b6 100644
--- a/newlib/libc/machine/spu/puts.c
+++ b/newlib/libc/machine/spu/puts.c
@@ -12,9 +12,7 @@ _DEFUN (puts, (s),
/* The return value gets written over s
*/
- __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTS, &s);
-
- return (int)s;
+ return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTS, &s);
}
#endif /* ! _REENT_ONLY */