]> Cypherpunks.ru repositories - goredo.git/blobdiff - log.go
Proper case of variable name
[goredo.git] / log.go
diff --git a/log.go b/log.go
index 2a3d805d7cb497c402f15a766d0cfd08ce72ef13..6b91c2d419bc3f6dccca491594c190755bafe108 100644 (file)
--- a/log.go
+++ b/log.go
@@ -1,6 +1,6 @@
 /*
 goredo -- djb's redo implementation on pure Go
-Copyright (C) 2020-2022 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2020-2023 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -49,7 +49,7 @@ var (
        LogWait    bool
        LogLock    bool
        LogJS      bool
-       MyPid      int
+       MyPID      int
 
        CDebug string
        CRedo  string
@@ -110,8 +110,8 @@ func erasedStatus(s, end string) string {
 
 func tracef(level, format string, args ...interface{}) {
        var p string
-       if MyPid != 0 {
-               p = fmt.Sprintf("[%d] ", MyPid)
+       if MyPID != 0 {
+               p = fmt.Sprintf("[%d] ", MyPID)
        }
        switch level {
        case CNone: