]> Cypherpunks repositories - goredo.git/commitdiff
Shorter any
authorSergey Matveev <stargrave@stargrave.org>
Sun, 13 Jul 2025 07:18:08 +0000 (10:18 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 13 Jul 2025 07:18:18 +0000 (10:18 +0300)
log.go

diff --git a/log.go b/log.go
index 96c7add6414d33cb2e42c7fe9a4efd26aa400c5f..3358595d2e277b254cc69ee18037d3296598be2a 100644 (file)
--- a/log.go
+++ b/log.go
@@ -135,7 +135,7 @@ func stderrWrite(s string) {
        LogMutex.Unlock()
 }
 
-func tracef(level, format string, args ...interface{}) {
+func tracef(level, format string, args ...any) {
        var p string
        if MyPID != 0 {
                p = fmt.Sprintf("[%d] ", MyPID)