]> 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 f4abdd078f41fc9b5e5aae1ee2dc2bd66633ba7a..6b91c2d419bc3f6dccca491594c190755bafe108 100644 (file)
--- a/log.go
+++ b/log.go
@@ -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: