aboutsummaryrefslogtreecommitdiffstats
path: root/man3/mempcpy.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/mempcpy.3')
-rw-r--r--man3/mempcpy.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/mempcpy.3 b/man3/mempcpy.3
index ca3fd6a474..1d028ff2a7 100644
--- a/man3/mempcpy.3
+++ b/man3/mempcpy.3
@@ -55,10 +55,10 @@ This function is a GNU extension.
void *
combine(void *o1, size_t s1, void *o2, size_t s2)
{
- void *result = malloc(s1 + s2);
- if (result != NULL)
- mempcpy(mempcpy(result, o1, s1), o2, s2);
- return result;
+ void *result = malloc(s1 + s2);
+ if (result != NULL)
+ mempcpy(mempcpy(result, o1, s1), o2, s2);
+ return result;
}
.fi
.SH "SEE ALSO"