-
Notifications
You must be signed in to change notification settings - Fork 99
Fix build error on FreeBSD-AMD64 #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,3 +70,7 @@ func copyFusestatFromGostat(dst *fuse.Stat_t, src *syscall.Stat_t) { | |
| func syscall_Statfs(path string, stat *syscall.Statfs_t) error { | ||
| return syscall.Statfs(path, stat) | ||
| } | ||
|
|
||
| func syscall_Mknod(path string, mode uint32, dev uint64) error { | ||
| return syscall.Mknod(path, mode, dev) | ||
| } | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks correct. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -69,3 +69,7 @@ func copyFusestatFromGostat(dst *fuse.Stat_t, src *syscall.Stat_t) { | |
| func syscall_Statfs(path string, stat *syscall.Statfs_t) error { | ||
| return syscall.Statfs(path, stat) | ||
| } | ||
|
|
||
| func syscall_Mknod(path string, mode uint32, dev uint64) error { | ||
| return syscall.Mknod(path, mode, int(dev)) | ||
| } | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks correct. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,3 +63,7 @@ func syscall_Statfs(path string, stat *syscall.Statfs_t) error { | |
| *stat = syscall.Statfs_t{} | ||
| return nil | ||
| } | ||
|
|
||
| func syscall_Mknod(path string, mode uint32, dev uint64) error { | ||
| return syscall.Mknod(path, mode, int(dev)) | ||
| } | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks correct. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,3 +70,7 @@ func copyFusestatFromGostat(dst *fuse.Stat_t, src *syscall.Stat_t) { | |
| func syscall_Statfs(path string, stat *syscall.Statfs_t) error { | ||
| return syscall.Statfs(path, stat) | ||
| } | ||
|
|
||
| func syscall_Mknod(path string, mode uint32, dev uint64) error { | ||
| return syscall.Mknod(path, mode, int(dev)) | ||
| } | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks correct. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks correct.