From 62f169cb388c8bf9be5bf9929b2102eafb82d5b6 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 18 Jun 2015 14:47:44 +1000 Subject: [PATCH] compress/lzw: be consistent with error message prefixes. All the other error messages in this package are "lzw: etc". Change-Id: Ie359a8912d213f92b15f02abc953127380503048 Reviewed-on: https://go-review.googlesource.com/11228 Reviewed-by: David Symonds --- src/compress/lzw/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compress/lzw/reader.go b/src/compress/lzw/reader.go index 526620c8271..6800e8323bd 100644 --- a/src/compress/lzw/reader.go +++ b/src/compress/lzw/reader.go @@ -213,7 +213,7 @@ func (d *decoder) flush() { d.o = 0 } -var errClosed = errors.New("compress/lzw: reader/writer is closed") +var errClosed = errors.New("lzw: reader/writer is closed") func (d *decoder) Close() error { d.err = errClosed // in case any Reads come along