summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-03-03 01:32:46 +0000
committerache <ache@FreeBSD.org>2001-03-03 01:32:46 +0000
commit1172de03441c7065530b581a78ba2b1403593c21 (patch)
treeda199414e99a57adf239c459a4f0a6272b8e2d49 /usr.bin
parent0d5efacbf56c92f8d2b3ed41f72b0c928e6efb45 (diff)
downloadFreeBSD-src-1172de03441c7065530b581a78ba2b1403593c21.zip
FreeBSD-src-1172de03441c7065530b581a78ba2b1403593c21.tar.gz
Don't use "," as load avg. separator because it can be precision point in some
locales, so leads to confusion
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/w/w.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index fe3b163..26105d4 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -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");
}
}
OpenPOWER on IntegriCloud