소스 검색

Fix typo, "fil" -> "fill"

Signed-off-by: Icaro Seara <icaro.seara@gmail.com>
Icaro Seara 10 년 전
부모
커밋
997ba4b0da
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)))