summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2012-06-14 12:50:42 +1000
committerAndrew Gerrand <adg@golang.org>2012-06-14 12:50:42 +1000
commitce34e74dbcda75a64470cfa32eadda0ae5d0719e (patch)
tree89f40198c6144a8fbbf576263a78be1c4fd342bf
parent693d98d8f6c7b3a2ffef1269998210d7aa9e0f5f (diff)
downloadgo1.0.2.tar.gz
[release-branch.go1] syscall: fix windows buildgo1.0.2
??? CL 6303061 / 17432a753e50 syscall: fix windows build TBR=bradfitz CC=golang-dev http://codereview.appspot.com/6303061 ??? R=golang-dev CC=golang-dev http://codereview.appspot.com/6295080
-rw-r--r--src/pkg/syscall/syscall_windows_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/syscall/syscall_windows_test.go b/src/pkg/syscall/syscall_windows_test.go
index 495eb46a7..79cd8f869 100644
--- a/src/pkg/syscall/syscall_windows_test.go
+++ b/src/pkg/syscall/syscall_windows_test.go
@@ -27,7 +27,7 @@ func TestWin32finddata(t *testing.T) {
f.Close()
type X struct {
- fd syscall.Win32finddata1
+ fd syscall.Win32finddata
got byte
pad [10]byte // to protect ourselves
@@ -35,7 +35,7 @@ func TestWin32finddata(t *testing.T) {
var want byte = 2 // it is unlikely to have this character in the filename
x := X{got: want}
- h, err := syscall.FindFirstFile1(syscall.StringToUTF16Ptr(path), &(x.fd))
+ h, err := syscall.FindFirstFile(syscall.StringToUTF16Ptr(path), &(x.fd))
if err != nil {
t.Fatalf("FindFirstFile failed: %v", err)
}