aboutsummaryrefslogtreecommitdiffstats
path: root/man3/mempcpy.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-06-13 22:02:09 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-06-13 22:02:09 +0000
commit0444be2471cfb32ee1f86848e7a8e1331f95f18d (patch)
treee8405a22cd29b666a0c1ebab45f5617d5402fec4 /man3/mempcpy.3
parent70ed98ab20d4b4f42acd53a34b0ad081e93ad77e (diff)
downloadman-pages-0444be2471cfb32ee1f86848e7a8e1331f95f18d.tar.gz
ffix
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"