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
0d5efacbf5
commit
1172de0344
@ -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