]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
device: fix typo in comment
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 9 Feb 2021 14:32:55 +0000 (15:32 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 9 Feb 2021 14:37:04 +0000 (15:37 +0100)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
device/device.go

index cb0c3ee86461567fd89077c56e51de4b1da50e8f..935f41bc7abbcc758564b672a700e1a034c25ba8 100644 (file)
@@ -32,7 +32,7 @@ type Device struct {
                // will become the actual state; Up can fail.
                // The device can also change state multiple times between time of check and time of use.
                // Unsynchronized uses of state must therefore be advisory/best-effort only.
-               state uint32 // actually a deviceState, but typed uint32 for conveniene
+               state uint32 // actually a deviceState, but typed uint32 for convenience
                // stopping blocks until all inputs to Device have been closed.
                stopping sync.WaitGroup
                // mu protects state changes.