diff options
| author | Rob Pike <r@golang.org> | 2010-02-02 10:53:37 +1100 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2010-02-02 10:53:37 +1100 |
| commit | d2fc5d68da4c6410d71366e04b61d9e8fcb679b3 (patch) | |
| tree | 5102f519f258e382a0657d658615ec38b4563611 /src/pkg/debug/proc/proc_linux.go | |
| parent | 1f11ece67f8b4d329dcf98ca0b214e4da515e446 (diff) | |
| download | go-d2fc5d68da4c6410d71366e04b61d9e8fcb679b3.tar.xz | |
Change type of Printf's args to ... interface{}
R=rsc
CC=golang-dev
https://golang.org/cl/197043
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 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 } |
