From d2fc5d68da4c6410d71366e04b61d9e8fcb679b3 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Tue, 2 Feb 2010 10:53:37 +1100 Subject: Change type of Printf's args to ... interface{} R=rsc CC=golang-dev https://golang.org/cl/197043 --- src/pkg/debug/proc/proc_linux.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pkg/debug') diff --git a/src/pkg/debug/proc/proc_linux.go b/src/pkg/debug/proc/proc_linux.go index 7273e97d84..cdeba7c0e4 100644 --- a/src/pkg/debug/proc/proc_linux.go +++ b/src/pkg/debug/proc/proc_linux.go @@ -282,7 +282,7 @@ func (t *thread) ptraceDetach() os.Error { 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 @@ func (t *thread) logTrace(format string, args ...) { 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 @@ func (t *thread) warn(format string, args ...) { fmt.Fprint(os.Stderr, "\n") } -func (p *process) logTrace(format string, args ...) { +func (p *process) logTrace(format string, args ...interface{}) { if !trace { return } -- cgit v1.3-5-g9baa