aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/syscallcompat/quirks.go2
-rw-r--r--internal/tlog/log.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/syscallcompat/quirks.go b/internal/syscallcompat/quirks.go
index 110c00d..e30d605 100644
--- a/internal/syscallcompat/quirks.go
+++ b/internal/syscallcompat/quirks.go
@@ -16,5 +16,5 @@ const (
)
func logQuirk(s string) {
- tlog.Info.Printf(tlog.ColorYellow + "DetectQuirks: " + s + tlog.ColorReset)
+ tlog.Info.Println(tlog.ColorYellow + "DetectQuirks: " + s + tlog.ColorReset)
}
diff --git a/internal/tlog/log.go b/internal/tlog/log.go
index 62d791d..02c760c 100644
--- a/internal/tlog/log.go
+++ b/internal/tlog/log.go
@@ -73,7 +73,7 @@ func (l *toggledLogger) Printf(format string, v ...interface{}) {
return
}
msg := trimNewline(fmt.Sprintf(format, v...))
- l.Logger.Printf(l.prefix + msg + l.postfix)
+ l.Logger.Print(l.prefix + msg + l.postfix)
if l.Wpanic {
l.Logger.Panic(wpanicMsg + msg)
}