Skip to content

Commit a36cd06

Browse files
authored
Merge pull request #3 from thaJeztah/wrap_no_alias
use wrapper function instead of variable for freebsd
2 parents 95c998f + 891de7e commit a36cd06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev_freebsd.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ package archive
44

55
import "golang.org/x/sys/unix"
66

7-
var mknod = unix.Mknod
7+
func mknod(path string, mode uint32, dev uint64) error {
8+
return unix.Mknod(path, mode, dev)
9+
}

0 commit comments

Comments
 (0)