From: Josh Bleecher Snyder Date: Sat, 16 Jan 2021 01:25:11 +0000 (-0800) Subject: tun/wintun/memmod: fix format verb X-Git-Tag: 0.0.20210212~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc88c82b13b6bf4cb1592ba4f7de58079c557cd;p=thirdparty%2Fwireguard-go.git tun/wintun/memmod: fix format verb Caught by 'go vet'. Signed-off-by: Josh Bleecher Snyder --- 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) } }