]> Cypherpunks repositories - gostls13.git/commit
Fix syscall.Statfs and syscall.Fstatfs for 386 GNU/Linux.
authorIan Lance Taylor <iant@golang.org>
Sat, 5 Dec 2009 05:58:32 +0000 (21:58 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 5 Dec 2009 05:58:32 +0000 (21:58 -0800)
commit44c1eb6bed9e14d58ebe8e32ca0f2db8d372d18f
tree7349abecd3ad8b240a26746984dfe6783c2ae47e
parent864c6bcbc760e1726b3e1a8274fab0445b869525
Fix syscall.Statfs and syscall.Fstatfs for 386 GNU/Linux.

For 386 we use the [f]statfs64 system call, which takes three
parameters: the filename, the size of the statfs64 structure,
and a pointer to the structure itself.

R=rsc
https://golang.org/cl/166073
src/pkg/syscall/syscall_linux_386.go
src/pkg/syscall/zsyscall_linux_386.go