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
/
emulation
/
43bsd
/
43bsd_hostinfo.c
diff --git
a/sys/emulation/43bsd/43bsd_hostinfo.c
b/sys/emulation/43bsd/43bsd_hostinfo.c
index
35e5d40
..
4bfb08c
100644
(file)
--- a/
sys/emulation/43bsd/43bsd_hostinfo.c
+++ b/
sys/emulation/43bsd/43bsd_hostinfo.c
@@
-317,7
+317,7
@@
sys_ogetkerninfo(struct getkerninfo_args *uap)
}
if (error)
return (error);
- uap->sysmsg_result = size;
+ uap->sysmsg_iresult = (int)size;
if (uap->size)
error = copyout((caddr_t)&size, (caddr_t)uap->size,
sizeof(size));