From: Jason A. Donenfeld Date: Wed, 24 Apr 2019 11:23:45 +0000 (+0200) Subject: wireguard-go-bridge: add missing format specifier for error X-Git-Tag: 0.0.20190531-9~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83ea9d6fa70f7bf756d8431942031b62c088bed3;p=thirdparty%2Fwireguard-apple.git wireguard-go-bridge: add missing format specifier for error Signed-off-by: Jason A. Donenfeld --- diff --git a/wireguard-go-bridge/api-ios.go b/wireguard-go-bridge/api-ios.go index dd66648..1424977 100644 --- a/wireguard-go-bridge/api-ios.go +++ b/wireguard-go-bridge/api-ios.go @@ -175,11 +175,11 @@ func wgBindInterfaceScope(tunnelHandle int32, ifscope int32) { device.Info.Printf("Binding sockets to interface %d\n", ifscope) err := device.BindSocketToInterface4(uint32(ifscope)) if err != nil { - device.Error.Printf("Unable to bind v4 socket to interface:", err) + device.Error.Printf("Unable to bind v4 socket to interface: %v", err) } err = device.BindSocketToInterface6(uint32(ifscope)) if err != nil { - device.Error.Printf("Unable to bind v6 socket to interface:", err) + device.Error.Printf("Unable to bind v6 socket to interface: %v", err) } }