diff options
author | ache <ache@FreeBSD.org> | 2001-03-03 01:32:46 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-03-03 01:32:46 +0000 |
commit | 1172de03441c7065530b581a78ba2b1403593c21 (patch) | |
tree | da199414e99a57adf239c459a4f0a6272b8e2d49 /usr.bin/w/w.c | |
parent | 0d5efacbf56c92f8d2b3ed41f72b0c928e6efb45 (diff) | |
download | FreeBSD-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/w/w.c')
-rw-r--r-- | usr.bin/w/w.c | 2 |
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"); } } |