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:
Andrey A. Chernov 2001-03-03 01:32:46 +00:00
parent 080175194f
commit e25fd27cd1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73368

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");
}
}