dhcp ipam: print error correctly without format string

Signed-off-by: SilverBut <SilverBut@users.noreply.github.com>
This commit is contained in:
SilverBut 2021-10-01 04:17:29 +08:00
parent 24259e7d21
commit 6d1f71e55a

View File

@ -67,7 +67,7 @@ func main() {
}
if err := runDaemon(pidfilePath, hostPrefix, socketPath, timeout, resendMax, broadcast); err != nil {
log.Printf(err.Error())
log.Print(err.Error())
os.Exit(1)
}
} else {