]> Cypherpunks repositories - gostls13.git/commitdiff
debug/proc: ... changes (fix build)
authorRuss Cox <rsc@golang.org>
Fri, 24 Sep 2010 17:12:50 +0000 (13:12 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 24 Sep 2010 17:12:50 +0000 (13:12 -0400)
TBR=gri
CC=golang-dev
https://golang.org/cl/2229047

src/pkg/debug/proc/proc_linux.go

index 1194d3afff5e473f3942229f1d3550cfa83c2cb4..f0cc43a108eeea265c8872fdc341a3e6ba5868db 100644 (file)
@@ -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")
 }