aboutsummaryrefslogtreecommitdiffstats
path: root/device/device.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-02-09 15:32:55 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-02-09 15:37:04 +0100
commit02138f1f8185c0b578a7b57122f59d9c9681f64b (patch)
treee7400d547e870e6bdbbadb8688befb061ac642de /device/device.go
parentdevice: fix alignment on 32-bit machines and test for it (diff)
downloadwireguard-go-02138f1f8185c0b578a7b57122f59d9c9681f64b.tar.xz
wireguard-go-02138f1f8185c0b578a7b57122f59d9c9681f64b.zip
device: fix typo in comment
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/device.go')
-rw-r--r--device/device.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/device.go b/device/device.go
index cb0c3ee..935f41b 100644
--- a/device/device.go
+++ b/device/device.go
@@ -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.