diff options
Diffstat (limited to 'libiohelp')
-rw-r--r-- | libiohelp/return-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiohelp/return-buffer.c b/libiohelp/return-buffer.c index e186698f..1beb4aeb 100644 --- a/libiohelp/return-buffer.c +++ b/libiohelp/return-buffer.c @@ -44,7 +44,7 @@ iohelp_return_malloced_buffer (char *buf, size_t len, if (! err) { if (len) - bcopy (buf, *rbuf, len); + memcpy (*rbuf, buf, len); *rlen = len; } |