summaryrefslogtreecommitdiffhomepage
path: root/device/device.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-12-18 11:52:13 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-07 14:49:44 +0100
commitad73ee78e90823a92eacf7521173308a392e8323 (patch)
treedee2d7d87814569c6d0ebe00064a483f5e986283 /device/device.go
parente9edc1634947519df3589f62a7baecd2c2b6f593 (diff)
device: add missing colon to error line
People are actually hitting this condition, so make it uniform. Also, change a printf into a println, to match the other conventions. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/device.go')
-rw-r--r--device/device.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/device.go b/device/device.go
index e7d70c4..5f128fc 100644
--- a/device/device.go
+++ b/device/device.go
@@ -158,7 +158,7 @@ func deviceUpdateState(device *Device) {
switch newIsUp {
case true:
if err := device.BindUpdate(); err != nil {
- device.log.Error.Printf("Unable to update bind: %v\n", err)
+ device.log.Error.Println("Unable to update bind:", err)
device.isUp.Set(false)
break
}