summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/strcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/strcat.c')
-rw-r--r--newlib/libc/machine/spu/strcat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/machine/spu/strcat.c b/newlib/libc/machine/spu/strcat.c
index 5b57a9b66..9a5185c1b 100644
--- a/newlib/libc/machine/spu/strcat.c
+++ b/newlib/libc/machine/spu/strcat.c
@@ -41,5 +41,6 @@
*/
char *strcat(char * __restrict__ dest, const char * __restrict__ src)
{
- return _strncpy(_straddr(dest), src, 0, 0, 0);
+ _strncpy(_straddr(dest), src, 0, 0, 0);
+ return dest;
}