summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2010-01-12 17:59:58 +0000
committergavin <gavin@FreeBSD.org>2010-01-12 17:59:58 +0000
commit0c2da89ac473d10c99cb369963dc789d04986c15 (patch)
treef52412ec9c9567185e18aa60f11d73740d901597 /sbin
parentca52a33d35801acbecacc860b4d4ef79fa67cb48 (diff)
downloadFreeBSD-src-0c2da89ac473d10c99cb369963dc789d04986c15.zip
FreeBSD-src-0c2da89ac473d10c99cb369963dc789d04986c15.tar.gz
Spell "Hz" correctly wherever it is user-visible.
PR: bin/142566 Submitted by: N.J. Mann njm njm.me.uk Approved by: ed (mentor) MFC after: 2 weeks
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifieee80211.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c
index ccb650c..48201bd 100644
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -3429,9 +3429,9 @@ get_chaninfo(const struct ieee80211_channel *c, int precise,
else if (IEEE80211_IS_CHAN_B(c))
strlcat(buf, " 11b", bsize);
if (IEEE80211_IS_CHAN_HALF(c))
- strlcat(buf, "/10Mhz", bsize);
+ strlcat(buf, "/10MHz", bsize);
if (IEEE80211_IS_CHAN_QUARTER(c))
- strlcat(buf, "/5Mhz", bsize);
+ strlcat(buf, "/5MHz", bsize);
if (IEEE80211_IS_CHAN_TURBO(c))
strlcat(buf, " Turbo", bsize);
if (precise) {
@@ -3453,7 +3453,7 @@ print_chaninfo(const struct ieee80211_channel *c, int verb)
{
char buf[14];
- printf("Channel %3u : %u%c Mhz%-14.14s",
+ printf("Channel %3u : %u%c MHz%-14.14s",
ieee80211_mhz2ieee(c->ic_freq, c->ic_flags), c->ic_freq,
IEEE80211_IS_CHAN_PASSIVE(c) ? '*' : ' ',
get_chaninfo(c, verb, buf, sizeof(buf)));
@@ -3562,7 +3562,7 @@ list_channels(int s, int allchans)
static void
print_txpow(const struct ieee80211_channel *c)
{
- printf("Channel %3u : %u Mhz %3.1f reg %2d ",
+ printf("Channel %3u : %u MHz %3.1f reg %2d ",
c->ic_ieee, c->ic_freq,
c->ic_maxpower/2., c->ic_maxregpower);
}
@@ -4244,7 +4244,7 @@ ieee80211_status(int s)
c = getcurchan(s);
if (c->ic_freq != IEEE80211_CHAN_ANY) {
char buf[14];
- printf(" channel %d (%u Mhz%s)", c->ic_ieee, c->ic_freq,
+ printf(" channel %d (%u MHz%s)", c->ic_ieee, c->ic_freq,
get_chaninfo(c, 1, buf, sizeof(buf)));
} else if (verbose)
printf(" channel UNDEF");
OpenPOWER on IntegriCloud