mirror of
https://github.com/golang/go
synced 2024-11-22 01:04:40 -07:00
debug/proc: ... changes (fix build)
TBR=gri CC=golang-dev https://golang.org/cl/2229047
This commit is contained in:
parent
d8fc38c7b8
commit
fb7e175d1f
@ -297,7 +297,7 @@ func (t *thread) logTrace(format string, args ...interface{}) {
|
||||
}
|
||||
}
|
||||
fmt.Fprint(os.Stderr, ": ")
|
||||
fmt.Fprintf(os.Stderr, format, args)
|
||||
fmt.Fprintf(os.Stderr, format, args...)
|
||||
fmt.Fprint(os.Stderr, "\n")
|
||||
}
|
||||
|
||||
@ -305,7 +305,7 @@ func (t *thread) warn(format string, args ...interface{}) {
|
||||
logLock.Lock()
|
||||
defer logLock.Unlock()
|
||||
fmt.Fprintf(os.Stderr, "Thread %d: WARNING ", t.tid)
|
||||
fmt.Fprintf(os.Stderr, format, args)
|
||||
fmt.Fprintf(os.Stderr, format, args...)
|
||||
fmt.Fprint(os.Stderr, "\n")
|
||||
}
|
||||
|
||||
@ -316,7 +316,7 @@ func (p *process) logTrace(format string, args ...interface{}) {
|
||||
logLock.Lock()
|
||||
defer logLock.Unlock()
|
||||
fmt.Fprintf(os.Stderr, "Process %d: ", p.pid)
|
||||
fmt.Fprintf(os.Stderr, format, args)
|
||||
fmt.Fprintf(os.Stderr, format, args...)
|
||||
fmt.Fprint(os.Stderr, "\n")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user