diff options
author | jhb <jhb@FreeBSD.org> | 2006-02-14 14:50:11 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-02-14 14:50:11 +0000 |
commit | a3a3e58c13384ca13edb73c2e84d34db4339b705 (patch) | |
tree | b7d13386c1898952da0190630b755f8cf299d8ed /etc/rc.sendmail | |
parent | 3c127fc155e83a0f47730848437b320fb195a5b0 (diff) | |
download | FreeBSD-src-a3a3e58c13384ca13edb73c2e84d34db4339b705.zip FreeBSD-src-a3a3e58c13384ca13edb73c2e84d34db4339b705.tar.gz |
Fix the hw.realmem sysctl. The global realmem variable is a count of
pages, not a count of bytes. The sysctl handler for hw.realmem already
uses ctob() to convert realmem from pages to bytes. Thus, on archs that
were storing a byte count in the realmem variable, hw.realmem was inflated.
Reported by: Valerio daelli valerio dot daelli at gmail dot com (alpha)
MFC after: 3 days
Diffstat (limited to 'etc/rc.sendmail')
0 files changed, 0 insertions, 0 deletions