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:
parent
080175194f
commit
e25fd27cd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73368
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user