From abc88c82b13b6bf4cb1592ba4f7de58079c557cd Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Fri, 15 Jan 2021 17:25:11 -0800 Subject: tun/wintun/memmod: fix format verb Caught by 'go vet'. Signed-off-by: Josh Bleecher Snyder --- tun/wintun/memmod/memmod_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tun/wintun/memmod') 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) } } -- cgit v1.2.3