summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/tmpfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/tmpfile.c')
-rw-r--r--newlib/libc/machine/spu/tmpfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/machine/spu/tmpfile.c b/newlib/libc/machine/spu/tmpfile.c
index 662b8f6fe..c66f78388 100644
--- a/newlib/libc/machine/spu/tmpfile.c
+++ b/newlib/libc/machine/spu/tmpfile.c
@@ -50,7 +50,7 @@ _DEFUN_VOID (tmpfile)
return NULL;
}
- __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_TMPFILE, &ret);
+ ret = __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_TMPFILE, &ret);
if (ret) {
fp->_fp = ret;