aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug/proc
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-09-24 13:12:50 -0400
committerRuss Cox <rsc@golang.org>2010-09-24 13:12:50 -0400
commitfb7e175d1f40f357fa123c702a0c11af32bff4bf (patch)
treeaaf8dfd22c90f486ca6dfe37d91c0cfe78fc6849 /src/pkg/debug/proc
parentd8fc38c7b81cb81d6ddae7b61feb7d8727079deb (diff)
downloadgo-fb7e175d1f40f357fa123c702a0c11af32bff4bf.tar.xz
debug/proc: ... changes (fix build)
TBR=gri CC=golang-dev https://golang.org/cl/2229047
Diffstat (limited to 'src/pkg/debug/proc')
-rw-r--r--src/pkg/debug/proc/proc_linux.go6
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 1194d3afff..f0cc43a108 100644
--- a/src/pkg/debug/proc/proc_linux.go
+++ b/src/pkg/debug/proc/proc_linux.go
@@ -297,7 +297,7 @@ func (t *thread) logTrace(format string, args ...interface{}) {
}
}
fmt.Fprint(os.Stderr, ": ")
- fmt.Fprintf(os.Stderr, format, args)
+ fmt.Fprintf(os.Stderr, format, args...)
fmt.Fprint(os.Stderr, "\n")
}
@@ -305,7 +305,7 @@ func (t *thread) warn(format string, args ...interface{}) {
logLock.Lock()
defer logLock.Unlock()
fmt.Fprintf(os.Stderr, "Thread %d: WARNING ", t.tid)
- fmt.Fprintf(os.Stderr, format, args)
+ fmt.Fprintf(os.Stderr, format, args...)
fmt.Fprint(os.Stderr, "\n")
}
@@ -316,7 +316,7 @@ func (p *process) logTrace(format string, args ...interface{}) {
logLock.Lock()
defer logLock.Unlock()
fmt.Fprintf(os.Stderr, "Process %d: ", p.pid)
- fmt.Fprintf(os.Stderr, format, args)
+ fmt.Fprintf(os.Stderr, format, args...)
fmt.Fprint(os.Stderr, "\n")
}