aboutsummaryrefslogtreecommitdiffstats
path: root/community/gitlab-runner/fix-docker-linux-stat.patch
blob: e3e119c1fafc2b5bbc03d3f6bfe48421deed3447 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/vendor/github.com/docker/docker/pkg/system/stat_linux.go b/vendor/github.com/docker/docker/pkg/system/stat_linux.go
index 98c9eb1..8a090a5 100644
--- a/vendor/github.com/docker/docker/pkg/system/stat_linux.go
+++ b/vendor/github.com/docker/docker/pkg/system/stat_linux.go
@@ -8,7 +8,7 @@ func fromStatT(s *syscall.Stat_t) (*StatT, error) {
 		mode: s.Mode,
 		uid:  s.Uid,
 		gid:  s.Gid,
-		rdev: s.Rdev,
+		rdev: uint64(s.Rdev),
 		mtim: s.Mtim}, nil
 }