зеркало из https://github.com/microsoft/docker.git
Merge pull request #15707 from icaroseara/fix_typo
Fix typo, "fil" -> "fill"
This commit is contained in:
Коммит
8acd006fd9
|
@ -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)))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче