diff options
Diffstat (limited to 'community/containerd/fix-mips64-stat-struct.patch')
-rw-r--r-- | community/containerd/fix-mips64-stat-struct.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/containerd/fix-mips64-stat-struct.patch b/community/containerd/fix-mips64-stat-struct.patch new file mode 100644 index 0000000000..35fe2597ac --- /dev/null +++ b/community/containerd/fix-mips64-stat-struct.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/vendor/github.com/docker/docker/pkg/system/stat_linux.go b/vendor/github.com/docker/docker/pkg/system/stat_linux.go | ||
2 | index 1939f95..af7af20 100644 | ||
3 | --- a/vendor/github.com/docker/docker/pkg/system/stat_linux.go | ||
4 | +++ b/vendor/github.com/docker/docker/pkg/system/stat_linux.go | ||
5 | @@ -8,7 +8,7 @@ func fromStatT(s *syscall.Stat_t) (*StatT, error) { | ||
6 | mode: s.Mode, | ||
7 | uid: s.Uid, | ||
8 | gid: s.Gid, | ||
9 | - rdev: s.Rdev, | ||
10 | + rdev: uint64(s.Rdev), | ||
11 | mtim: s.Mtim}, nil | ||
12 | } | ||
13 | |||