Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(891)

Unified Diff: src/pkg/debug/proc/proc_linux.go

Issue 197043: code review 197043: Change type of Printf's args to ... interface{} (Closed)
Patch Set: code review 197043: Change type of Printf's args to ... interface{} Created 15 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/goyacc/goyacc.go ('k') | src/pkg/exp/eval/compiler.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/debug/proc/proc_linux.go
===================================================================
--- a/src/pkg/debug/proc/proc_linux.go
+++ b/src/pkg/debug/proc/proc_linux.go
@@ -282,7 +282,7 @@
var logLock sync.Mutex
-func (t *thread) logTrace(format string, args ...) {
+func (t *thread) logTrace(format string, args ...interface{}) {
if !trace {
return
}
@@ -301,7 +301,7 @@
fmt.Fprint(os.Stderr, "\n")
}
-func (t *thread) warn(format string, args ...) {
+func (t *thread) warn(format string, args ...interface{}) {
logLock.Lock()
defer logLock.Unlock()
fmt.Fprintf(os.Stderr, "Thread %d: WARNING ", t.tid)
@@ -309,7 +309,7 @@
fmt.Fprint(os.Stderr, "\n")
}
-func (p *process) logTrace(format string, args ...) {
+func (p *process) logTrace(format string, args ...interface{}) {
if !trace {
return
}
« no previous file with comments | « src/cmd/goyacc/goyacc.go ('k') | src/pkg/exp/eval/compiler.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b