Date: Tue, 27 Feb 2001 09:11:19 -0800 (PST) From: Andrew Gallatin <gallatin@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/top machine.c Message-ID: <200102271711.f1RHBJx01512@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gallatin 2001/02/27 09:11:19 PST Modified files: usr.bin/top machine.c Log: - 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> Revision Changes Path 1.38 +8 -16 src/usr.bin/top/machine.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102271711.f1RHBJx01512>