aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-08-03 20:57:33 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-08-03 20:57:33 +0000
commit70382d5abec0898fa09ed17caba4cadd1f2c415b (patch)
treeaac8fead5cb32374fed1468a28db2215622b9ee3 /sbin
parent467610da0d777acbd6ff5b0eb5b7d6b5b3ae4edb (diff)
downloadsrc-70382d5abec0898fa09ed17caba4cadd1f2c415b.tar.gz
src-70382d5abec0898fa09ed17caba4cadd1f2c415b.zip
Fix commen typos.
Notes
Notes: svn path=/head/; revision=148686
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifieee80211.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c
index 5a9b84099a00..a66fdd5c84b5 100644
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -301,8 +301,8 @@ set80211wepkey(const char *val, int d, int s, const struct afswtch *rafp)
}
/*
- * This function is purly a NetBSD compatability interface. The NetBSD
- * iterface is too inflexable, but it's there so we'll support it since
+ * This function is purely a NetBSD compatability interface. The NetBSD
+ * interface is too inflexible, but it's there so we'll support it since
* it's not all that hard.
*/
static void
@@ -749,7 +749,7 @@ copy_essid(char buf[], size_t bufsize, const u_int8_t *essid, size_t essid_len)
return maxlen;
}
-/* unalligned little endian access */
+/* unaligned little endian access */
#define LE_READ_4(p) \
((u_int32_t) \
((((const u_int8_t *)(p))[0] ) | \
@@ -1326,7 +1326,7 @@ ieee80211_status(int s)
ireq.i_type = IEEE80211_IOC_SSID;
ireq.i_val = -1;
if (ioctl(s, SIOCG80211, &ireq) < 0) {
- /* If we can't get the SSID, the this isn't an 802.11 device. */
+ /* If we can't get the SSID, this isn't an 802.11 device. */
return;
}
num = 0;