From 3b57df6e5d88f7ab92b663c94e3a033025fcc011 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 24 Apr 2019 13:23:45 +0200 Subject: [PATCH] wireguard-go-bridge: add missing format specifier for error --- wireguard-go-bridge/api-ios.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } }