Don't use "," as load avg. separator because it can be precision point in some

locales, so leads to confusion
This commit is contained in:
ache 2001-03-03 01:32:46 +00:00
parent 0d5efacbf5
commit 1172de0344

View File

@ -477,7 +477,7 @@ pr_header(nowp, nusers)
else {
(void)printf(", load averages:");
for (i = 0; i < (sizeof(avenrun) / sizeof(avenrun[0])); i++)
(void)printf("%s %.2f", i > 0 ? "," : "", avenrun[i]);
(void)printf(" %.2f", avenrun[i]);
(void)printf("\n");
}
}