diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1998-09-28 22:04:54 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1998-09-28 22:04:54 +0000 |
| commit | 38e1ef0f4a044d4bb09519cea4f1d3fa1260f68a (patch) | |
| tree | 707396a66ebe72cd27c9653ef364759798d39368 /sys/boot | |
| parent | 29a1d9c4e65280a48a5b31db4a82748c187bebbc (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/i386/libi386/i386_copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/i386_copy.c b/sys/boot/i386/libi386/i386_copy.c index 0ff98bac8e41..b01624316061 100644 --- a/sys/boot/i386/libi386/i386_copy.c +++ b/sys/boot/i386/libi386/i386_copy.c @@ -53,7 +53,7 @@ i386_readin(int fd, vm_offset_t dest, size_t len) got = read(fd, buf, get); if (got <= 0) break; - bcopy(buf, PTOV(dest), chunk); + bcopy(buf, PTOV(dest), got); } free(buf); return(len - resid); |
