Hi,

I've attached a second patch (for FreeBSD), that will better handle
sysctl() errors and modify the cpu's name to be a bit more readable
(remove '(R)' and shorten it). It also includes a "fix" to display the
cpu frequency correctly when it's slower than 1GHz.

Side notes:

1) If I remember correctly, older versions of FreeBSD (version < 5) do
not provide any sysctl() information about the clock speed.

2) IMHO, 'machine' and 'cpu' should be swapped to display "Machine:
i386" and "CPU: Intel Pentium III" instead of vice versa.

--
Chris

Attachment: AboutEtoileEntry.m.DIFF
Description: Binary data

_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to