Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
To: wireguard@lists.zx2c4.com
Subject: [PATCH] Fix typos found by codespell
Date: Sat, 21 May 2022 15:02:42 +0200	[thread overview]
Message-ID: <9466bb1d-d6ee-4428-8132-a87f9db644c9@cea.fr> (raw)

---
  driver/wintun.c | 4 ++--
  1 file 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.
-- 
2.34.1

                 reply	other threads:[~2022-05-21 13:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9466bb1d-d6ee-4428-8132-a87f9db644c9@cea.fr \
    --to=dimitri.papadopoulos@cea.fr \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).