summaryrefslogtreecommitdiff
path: root/error_buffer.go
diff options
context:
space:
mode:
Diffstat (limited to 'error_buffer.go')
-rw-r--r--error_buffer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/error_buffer.go b/error_buffer.go
index becd8295..0eaf03b6 100644
--- a/error_buffer.go
+++ b/error_buffer.go
@@ -87,8 +87,8 @@ func (eb *errBuffer) Len() int {
return len(eb.buf)
}
-// Write appends the contents of p to the errBuffer, growing the errBuffer as
-// needed. The return value n is the length of p; err is always nil.
+// Write appends the contents of pool to the errBuffer, growing the errBuffer as
+// needed. The return value n is the length of pool; err is always nil.
func (eb *errBuffer) Write(p []byte) (int, error) {
eb.mu.Lock()
eb.buf = append(eb.buf, p...)