diff options
author | Stefan Weil <sw@weilnetz.de> | 2016-03-26 11:53:07 +0100 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2016-04-10 12:51:10 +0200 |
commit | 6d2c0fd06ffa2d12ab1a1bf156784e6949a903a1 (patch) | |
tree | 5a86c41f2f8ebec1d85f97aaead41123a28954ae /net/net-snmp/patches | |
parent | c48f8a318a064fbd557b9e30b2fd5b1ed6588945 (diff) |
net: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'net/net-snmp/patches')
-rw-r--r-- | net/net-snmp/patches/750-ieee802dot11.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/net-snmp/patches/750-ieee802dot11.patch b/net/net-snmp/patches/750-ieee802dot11.patch index 9e0625cc6..a3c5c0a9d 100644 --- a/net/net-snmp/patches/750-ieee802dot11.patch +++ b/net/net-snmp/patches/750-ieee802dot11.patch @@ -4702,7 +4702,7 @@ + char uid[256]; + LIST_HEAD ( , avNode ) *list; + -+ // NOTE: this assumes the UID is at the begining of the ++ // NOTE: this assumes the UID is at the beginning of the + // data structure and that UIDs are strings + + list = ( LIST_HEAD ( , avNode ) * ) l; // NOTE: don't know how to get @@ -5802,7 +5802,7 @@ +#define PROC_NET_WIRELESS "/proc/net/wireless" +#define PROC_NET_DEV "/proc/net/dev" + -+/* Some usefull constants */ ++/* Some useful constants */ +#define KILO 1e3 +#define MEGA 1e6 +#define GIGA 1e9 @@ -6110,7 +6110,7 @@ +} + +/*------------------------------------------------------------------*/ -+/* Backwards compatability ++/* Backwards compatibility + * Actually, those form are much easier to use when dealing with + * struct sockaddr... */ +static inline char* @@ -6119,7 +6119,7 @@ + iw_ether_ntop((const struct ether_addr *) addr, bufp); + return bufp; +} -+/* Backwards compatability */ ++/* Backwards compatibility */ +static inline int +iw_in_ether(const char *bufp, struct sockaddr *sap) +{ |