blob: e1a850c70cc8e86f7fdb6a8a860ebf0534339a38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- vendor/github.com/docker/docker/pkg/system/mknod.go.orig 2020-06-05 20:12:52 UTC
+++ vendor/github.com/docker/docker/pkg/system/mknod.go
@@ -9,7 +9,7 @@ import (
// Mknod creates a filesystem node (file, device special file or named pipe) named path
// with attributes specified by mode and dev.
func Mknod(path string, mode uint32, dev int) error {
- return unix.Mknod(path, mode, dev)
+ return unix.Mknod(path, mode, uint64(dev))
}
// Mkdev is used to build the value of linux devices (in /dev/) which specifies major
|