From: Artyom Pervukhin Date: Thu, 19 Oct 2017 12:49:43 +0000 (+0300) Subject: testing/iotest: fix NewReadLogger documentation typo X-Git-Tag: go1.10beta1~658 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5313d3f23694fdc051ed095960345df01670107e;p=gostls13.git testing/iotest: fix NewReadLogger documentation typo Change-Id: I094af156e7b8c31af3162d943a8c61268803ab89 Reviewed-on: https://go-review.googlesource.com/71830 Reviewed-by: Gabriel Aszalos Reviewed-by: Ian Lance Taylor Run-TryBot: Gabriel Aszalos TryBot-Result: Gobot Gobot --- diff --git a/src/testing/iotest/logger.go b/src/testing/iotest/logger.go index 0aec15c575..99548dcfed 100644 --- a/src/testing/iotest/logger.go +++ b/src/testing/iotest/logger.go @@ -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}