Merge "Re-add stpcpy call."
diff --git a/sysdeps/linux-gnu/hooks.c b/sysdeps/linux-gnu/hooks.c
index e3bb8c1..3fb3614 100644
--- a/sysdeps/linux-gnu/hooks.c
+++ b/sysdeps/linux-gnu/hooks.c
@@ -40,10 +40,7 @@
 	char *ret = malloc(strlen(str1) + strlen(str2) + 2);
 	if (ret == NULL)
 		return ret;
-	/* BEGIN android-changed */
-	strcpy(ret, str1);
-	strcat(ret, str2);
-	/* END android-changed */
+	strcpy(stpcpy(ret, str1), str2);
 	return ret;
 }