diff options
author | gallatin <gallatin@FreeBSD.org> | 2001-02-27 17:11:19 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2001-02-27 17:11:19 +0000 |
commit | f23ef63cf90e36a2bced4a758f9966129ee33b5f (patch) | |
tree | 54362831f177e8d3f9a4d312697f393e51625cc3 /sys/dev/nmdm/nmdm.c | |
parent | e50089028ca4804e1607a7ce76210cd1ed643ab2 (diff) | |
download | FreeBSD-src-f23ef63cf90e36a2bced4a758f9966129ee33b5f.zip FreeBSD-src-f23ef63cf90e36a2bced4a758f9966129ee33b5f.tar.gz |
- An array of 4 32-bit ints for avenrun doesn't work on the alpha because
fscale is a (64-bit) long. So just use a struct loadavg.
This fixes the recent failure of top on alphas:
top: sysctl(vm.loadavg...) failed: Cannot allocate memory
- use size_t for sizeof() so as to fix a few int/long warnings on alpha
Reviewed by: Thomas Moestl <tmoestl@gmx.net>
Diffstat (limited to 'sys/dev/nmdm/nmdm.c')
0 files changed, 0 insertions, 0 deletions