]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
wireguard-go-bridge: add missing format specifier for error
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 24 Apr 2019 11:23:45 +0000 (13:23 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 24 Apr 2019 11:24:03 +0000 (13:24 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
wireguard-go-bridge/api-ios.go

index dd6664868505ab192f38b935d46f9f0b58acb611..14249779924fa1c05733c000e2ca79699ccdff0f 100644 (file)
@@ -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)
        }
 }