]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
tun/wintun/memmod: fix format verb
authorJosh Bleecher Snyder <josh@tailscale.com>
Sat, 16 Jan 2021 01:25:11 +0000 (17:25 -0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 20 Jan 2021 18:57:02 +0000 (19:57 +0100)
Caught by 'go vet'.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
tun/wintun/memmod/memmod_windows.go

index b9d7783ea982775e64397fcb0bdbc25a8fdc4be9..e1bb4d54c7590197c8f4cc0c1ae9ab6d06bf9e51 100644 (file)
@@ -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)
                        }
                }