Browse Source

Merge pull request #15707 from icaroseara/fix_typo

Fix typo, "fil" -> "fill"
Brian Goff 10 năm trước cách đây
mục cha
commit
8acd006fd9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pkg/archive/archive_unix.go

+ 1 - 1
pkg/archive/archive_unix.go

@@ -51,7 +51,7 @@ func setHeaderForSpecialDevice(hdr *tar.Header, ta *tarAppender, name string, st
 	nlink = uint32(s.Nlink)
 	nlink = uint32(s.Nlink)
 	inode = uint64(s.Ino)
 	inode = uint64(s.Ino)
 
 
-	// Currently go does not fil in the major/minors
+	// Currently go does not fill in the major/minors
 	if s.Mode&syscall.S_IFBLK != 0 ||
 	if s.Mode&syscall.S_IFBLK != 0 ||
 		s.Mode&syscall.S_IFCHR != 0 {
 		s.Mode&syscall.S_IFCHR != 0 {
 		hdr.Devmajor = int64(major(uint64(s.Rdev)))
 		hdr.Devmajor = int64(major(uint64(s.Rdev)))