diff --git a/p2psrv/discv5/net.go b/p2psrv/discv5/net.go index 3585d38b7..39dafeb97 100644 --- a/p2psrv/discv5/net.go +++ b/p2psrv/discv5/net.go @@ -647,7 +647,7 @@ loop: } log.Trace("loop stopped") - log.Debug(fmt.Sprintf("shutting down")) + log.Debug("shutting down") if net.conn != nil { net.conn.Close() } diff --git a/p2psrv/discv5/ntp.go b/p2psrv/discv5/ntp.go index 4fb5f657a..4e90b2850 100644 --- a/p2psrv/discv5/ntp.go +++ b/p2psrv/discv5/ntp.go @@ -51,7 +51,7 @@ func checkClockDrift() { } if drift < -driftThreshold || drift > driftThreshold { warning := fmt.Sprintf("System clock seems off by %v, which can prevent network connectivity", drift) - howtofix := fmt.Sprintf("Please enable network time synchronisation in system settings") + howtofix := "Please enable network time synchronisation in system settings" separator := strings.Repeat("-", len(warning)) log.Warn(separator)