projects
/
dragonfly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
AMD64 - Refactor uio_resid and size_t assumptions.
[dragonfly.git]
/
sys
/
boot
/
pc32
/
libi386
/
i386_copy.c
diff --git
a/sys/boot/pc32/libi386/i386_copy.c
b/sys/boot/pc32/libi386/i386_copy.c
index
9277cdc
..
520688f
100644
(file)
--- a/
sys/boot/pc32/libi386/i386_copy.c
+++ b/
sys/boot/pc32/libi386/i386_copy.c
@@
-80,7
+80,7
@@
i386_readin(const int fd, vm_offset_t dest, const size_t len)
return(0);
for (resid = len; resid > 0; resid -= got, dest += got) {
- get = min(chunk, resid);
+ get = szmin(chunk, resid);
got = read(fd, buf, get);
if (got <= 0)
break;