diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-13 22:02:09 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-13 22:02:09 +0000 |
| commit | 0444be2471cfb32ee1f86848e7a8e1331f95f18d (patch) | |
| tree | e8405a22cd29b666a0c1ebab45f5617d5402fec4 | |
| parent | 70ed98ab20d4b4f42acd53a34b0ad081e93ad77e (diff) | |
| download | man-pages-0444be2471cfb32ee1f86848e7a8e1331f95f18d.tar.gz | |
ffix
| -rw-r--r-- | man3/mempcpy.3 | 8 |
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" |
