diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-01-15 17:25:11 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-20 19:57:02 +0100 |
commit | abc88c82b13b6bf4cb1592ba4f7de58079c557cd (patch) | |
tree | 12a9a9fa29bcacf8a01553839112d052d67549e8 /tun | |
parent | 23642a13bed48c700144e4b346d054b8e47879a8 (diff) |
tun/wintun/memmod: fix format verb
Caught by 'go vet'.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'tun')
-rw-r--r-- | tun/wintun/memmod/memmod_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/memmod/memmod_windows.go b/tun/wintun/memmod/memmod_windows.go index b9d7783..e1bb4d5 100644 --- a/tun/wintun/memmod/memmod_windows.go +++ b/tun/wintun/memmod/memmod_windows.go @@ -294,7 +294,7 @@ func (module *Module) performBaseRelocation(delta uintptr) (relocated bool, err } default: - return false, fmt.Errorf("Unsupported relocation: %w", relType) + return false, fmt.Errorf("Unsupported relocation: %v", relType) } } |