]> Cypherpunks repositories - gostls13.git/commitdiff
log: fix comment
authormapeiqi <mapeiqi2017@gmail.com>
Sat, 15 Jul 2017 04:15:35 +0000 (12:15 +0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 15 Jul 2017 05:43:45 +0000 (05:43 +0000)
I just want to experience the whole Gerrit Flow, so I make this simple commit
as my first commit to golang src repo.

Change-Id: Ie744573beac7a8b9361f898fac269c9d88010493
Reviewed-on: https://go-review.googlesource.com/48630
Reviewed-by: Ma Peiqi <mapeiqi2017@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/log/log.go

index 0ea4b896589091c7d5437bca6d5e553fb0133e74..587904b11c4d640f6d272355fcd06806e41bb9f4 100644 (file)
@@ -157,7 +157,7 @@ func (l *Logger) Output(calldepth int, s string) error {
        l.mu.Lock()
        defer l.mu.Unlock()
        if l.flag&(Lshortfile|Llongfile) != 0 {
-               // release lock while getting caller info - it's expensive.
+               // Release lock while getting caller info - it's expensive.
                l.mu.Unlock()
                var ok bool
                _, file, line, ok = runtime.Caller(calldepth)