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 | 60889ea454193fee3ad1d7c7d0539827697e3624 (patch) | |
| tree | 8f498db4a8c2191481b79772b51d82547316fbf3 /src/pkg/debug/proc/proc_linux.go | |
| parent | 9bd745432a661b2de84bf5b3a07992654352c53b (diff) | |
| download | golang-60889ea454193fee3ad1d7c7d0539827697e3624.tar.gz | |
Change type of Printf's args to ... interface{}
R=rsc
CC=golang-dev
http://codereview.appspot.com/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 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 } |
