aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-05-23 15:57:34 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2022-05-23 15:57:34 +0200
commit41624504341307f7f55afe72e86d5d8c76f81c0e (patch)
tree1dd587cc7c56c6cf649347b8a9b60f4c5e1aa1d2
parentREADME: mention Windows 11 (diff)
downloadwintun-master.tar.xz
wintun-master.zip
driver: fix spelling mistakes in commentsHEADmaster
Suggested-by: Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--driver/wintun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/wintun.c b/driver/wintun.c
index f3eea05..ad4b16b 100644
--- a/driver/wintun.c
+++ b/driver/wintun.c
@@ -49,7 +49,7 @@
((((ULONG)(x)&0x000000ff) << 24) | (((ULONG)(x)&0x0000ff00) << 8) | (((ULONG)(x)&0x00ff0000) >> 8) | \
(((ULONG)(x)&0xff000000) >> 24))
#else
-# error "Unable to determine endianess"
+# error "Unable to determine endianness"
#endif
#define TUN_MEMORY_TAG HTONL('wtun')
@@ -107,7 +107,7 @@ typedef struct _TUN_REGISTER_RINGS_32
/* Size of the ring */
ULONG RingSize;
- /* 32-bit addres of client allocated ring */
+ /* 32-bit address of client allocated ring */
ULONG Ring;
/* On send: An event created by the client the Wintun signals after it moves the Tail member of the send ring.