On 08/08/11 12:59, Theo de Raadt wrote:
Nick, this is probably the single most frequently asked question... :-)
No, it is not. In the modern world of search engines, this question
lands at the same level as trolling. If a person's first gut reaction
isn't "go type 3 words into a search engine", and instead they craft a
500 line email message to a list, that is trolling.
Rikky, here is a diff which solves the problem you are facing:
--- w.c Sat Jul 30 15:17:12 2011
+++ w.c.new Mon Aug 8 10:57:34 2011
@@ -430,7 +430,7 @@
for (i = 0; i< (sizeof(avenrun) / sizeof(avenrun[0])); i++) {
if (i> 0)
(void)printf(",");
- (void)printf(" %.2f", avenrun[i]);
+ (void)printf(" %.2f", 0.001);
}
(void)printf("\n");
}
Hmmm. Wrap that around an #ifdef looking for an environment
variable ("LOADAV") and if it isn't set to "IUNDERSTAND" Theo's
diff is what's shown.
I'm not being entirely facetious.
--STeve Andre'