aboutsummaryrefslogtreecommitdiff
path: root/src/archive/tar/reader.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive/tar/reader.go')
-rw-r--r--src/archive/tar/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive/tar/reader.go b/src/archive/tar/reader.go
index 94fa417308..bde6e1205c 100644
--- a/src/archive/tar/reader.go
+++ b/src/archive/tar/reader.go
@@ -611,7 +611,7 @@ func readGNUSparseMap0x1(paxHdrs map[string]string) (sparseDatas, error) {
// If the current file is sparse, then the regions marked as a hole
// are read back as NUL-bytes.
//
-// Calling Read on special types like TypeLink, TypeSymLink, TypeChar,
+// Calling Read on special types like TypeLink, TypeSymlink, TypeChar,
// TypeBlock, TypeDir, and TypeFifo returns (0, io.EOF) regardless of what
// the Header.Size claims.
func (tr *Reader) Read(b []byte) (int, error) {