Commit 5313d3f2 authored by Artyom Pervukhin's avatar Artyom Pervukhin Committed by Ian Lance Taylor

testing/iotest: fix NewReadLogger documentation typo

Change-Id: I094af156e7b8c31af3162d943a8c61268803ab89
Reviewed-on: https://go-review.googlesource.com/71830Reviewed-by: 's avatarGabriel Aszalos <gabriel.aszalos@gmail.com>
Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
Run-TryBot: Gabriel Aszalos <gabriel.aszalos@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent d790ea3e
......@@ -47,7 +47,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,
// that it logs (using log.Printf) each read to standard error,
// printing the prefix and the hexadecimal data read.
func NewReadLogger(prefix string, r io.Reader) io.Reader {
return &readLogger{prefix, r}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment