opnsense-ports/devel/gitlab-runner/files/patch-mknod.go

12 lines
531 B
Go

--- src/github.com/docker/docker/pkg/system/mknod.go.orig 2019-03-01 15:22:53 UTC
+++ src/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 syscall.Mknod(path, mode, dev)
+ return syscall.Mknod(path, mode, uint64(dev))
}
// Mkdev is used to build the value of linux devices (in /dev/) which specifies major