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

Run gofmt.

parent d822ee41
...@@ -6,6 +6,7 @@ import ( ...@@ -6,6 +6,7 @@ import (
"testing" "testing"
"unsafe" "unsafe"
) )
var _ = log.Println var _ = log.Println
func markSeen(t *testing.T, substr string) { func markSeen(t *testing.T, substr string) {
......
...@@ -161,6 +161,7 @@ func VerboseTest() bool { ...@@ -161,6 +161,7 @@ func VerboseTest() bool {
} }
const AT_FDCWD = -100 const AT_FDCWD = -100
func Linkat(fd1 int, n1 string, fd2 int, n2 string) int { func Linkat(fd1 int, n1 string, fd2 int, n2 string) int {
b1 := syscall.StringBytePtr(n1) b1 := syscall.StringBytePtr(n1)
b2 := syscall.StringBytePtr(n2) b2 := syscall.StringBytePtr(n2)
......
...@@ -28,7 +28,7 @@ func TestOsErrorToErrno(t *testing.T) { ...@@ -28,7 +28,7 @@ func TestOsErrorToErrno(t *testing.T) {
func TestLinkAt(t *testing.T) { func TestLinkAt(t *testing.T) {
dir, _ := ioutil.TempDir("", "go-fuse") dir, _ := ioutil.TempDir("", "go-fuse")
ioutil.WriteFile(dir + "/a", []byte{42}, 0644) ioutil.WriteFile(dir+"/a", []byte{42}, 0644)
f, _ := os.Open(dir) f, _ := os.Open(dir)
e := Linkat(f.Fd(), "a", f.Fd(), "b") e := Linkat(f.Fd(), "a", f.Fd(), "b")
if e != 0 { 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