cpu plugin: Check if all required sysctl defines are present.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 15 Feb 2009 14:01:05 +0000 (15:01 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 15 Feb 2009 14:07:37 +0000 (15:07 +0100)
commit7af1f613fa37d82b29fb13fc1d37f0963389aa56
tree4563d215954699a87a5a16715aa066fe6f5b084c
parent034b20cd422bdfbf74cb69822d700724eeb51fe6
cpu plugin: Check if all required sysctl defines are present.

Rather than checking for OpenBSD, since this interface may work with
other *BSDs, too. The order of the initialization code has been fixed,
too, and some other minor fixes..
src/cpu.c