aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-03-21 17:59:58 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-03-21 17:59:58 +0000
commit5aa6e45dbf72e0f7d501f52d2fda74d64af65ad9 (patch)
tree19daa8fd2e2e90ae5e0ad14051a65b8b0fa01e57 /src/util.c
parent69fee83b8354e14f755660c7a67d2cacf362446d (diff)
downloadcpio-5aa6e45dbf72e0f7d501f52d2fda74d64af65ad9.tar.gz
cpio-5aa6e45dbf72e0f7d501f52d2fda74d64af65ad9.tar.bz2
(disk_buffered_write): Fix typo introduced 2005-01-11.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 8956c7b..49403c0 100644
--- a/src/util.c
+++ b/src/util.c
@@ -268,7 +268,7 @@ disk_buffered_write (char *in_buf, int out_des, long num_bytes)
{
if (bytes_left < space_left)
space_left = bytes_left;
- memcpy (out_buff, in_buff, (unsigned) space_left);
+ memcpy (out_buff, in_buf, (unsigned) space_left);
out_buff += space_left;
output_size += space_left;
in_buf += space_left;

Return to:

Send suggestions and report system problems to the System administrator.