mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
syscall: use uintptr for Mount flags.
R=bradfitz, rsc CC=golang-dev https://golang.org/cl/5308044
This commit is contained in:
parent
18b025d530
commit
85b9f3573e
4 changed files with 5 additions and 5 deletions
|
|
@ -784,8 +784,8 @@ func ParseDirent(buf []byte, max int, names []string) (consumed int, count int,
|
|||
return origlen - len(buf), count, names
|
||||
}
|
||||
|
||||
//sys mount(source string, target string, fstype string, flags uint32, data *byte) (errno int)
|
||||
func Mount(source string, target string, fstype string, flags uint32, data string) (errno int) {
|
||||
//sys mount(source string, target string, fstype string, flags uintptr, data *byte) (errno int)
|
||||
func Mount(source string, target string, fstype string, flags uintptr, data string) (errno int) {
|
||||
// Certain file systems get rather angry and EINVAL if you give
|
||||
// them an empty string of data, rather than NULL.
|
||||
if data == "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue