diff options
Diffstat (limited to 'src/pkg/debug/proc/proc_linux.go')
-rw-r--r-- | src/pkg/debug/proc/proc_linux.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/debug/proc/proc_linux.go b/src/pkg/debug/proc/proc_linux.go index 7273e97d8..cdeba7c0e 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 } |