summaryrefslogtreecommitdiffstats
path: root/llgo/third_party/gofrontend/libgo/go/testing/iotest/logger.go
diff options
context:
space:
mode:
Diffstat (limited to 'llgo/third_party/gofrontend/libgo/go/testing/iotest/logger.go')
-rw-r--r--llgo/third_party/gofrontend/libgo/go/testing/iotest/logger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/llgo/third_party/gofrontend/libgo/go/testing/iotest/logger.go b/llgo/third_party/gofrontend/libgo/go/testing/iotest/logger.go
index 1475d9b0c65..0aec15c575e 100644
--- a/llgo/third_party/gofrontend/libgo/go/testing/iotest/logger.go
+++ b/llgo/third_party/gofrontend/libgo/go/testing/iotest/logger.go
@@ -48,7 +48,7 @@ func (l *readLogger) Read(p []byte) (n int, err error) {
// NewReadLogger returns a reader that behaves like r except
// that it logs (using log.Print) each read to standard error,
-// printing the prefix and the hexadecimal data written.
+// printing the prefix and the hexadecimal data read.
func NewReadLogger(prefix string, r io.Reader) io.Reader {
return &readLogger{prefix, r}
}
OpenPOWER on IntegriCloud