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>
This commit is contained in:
parent
e9edc16349
commit
ad73ee78e9
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue