Commit 330c80da authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Run gofmt.

parent d822ee41
......@@ -6,6 +6,7 @@ import (
"testing"
"unsafe"
)
var _ = log.Println
func markSeen(t *testing.T, substr string) {
......
......@@ -161,6 +161,7 @@ func VerboseTest() bool {
}
const AT_FDCWD = -100
func Linkat(fd1 int, n1 string, fd2 int, n2 string) int {
b1 := syscall.StringBytePtr(n1)
b2 := syscall.StringBytePtr(n2)
......
......@@ -28,7 +28,7 @@ func TestOsErrorToErrno(t *testing.T) {
func TestLinkAt(t *testing.T) {
dir, _ := ioutil.TempDir("", "go-fuse")
ioutil.WriteFile(dir + "/a", []byte{42}, 0644)
ioutil.WriteFile(dir+"/a", []byte{42}, 0644)
f, _ := os.Open(dir)
e := Linkat(f.Fd(), "a", f.Fd(), "b")
if e != 0 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment