]> Cypherpunks repositories - gostls13.git/commitdiff
fix build
authorRobert Griesemer <gri@golang.org>
Fri, 20 Aug 2010 18:20:12 +0000 (11:20 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 20 Aug 2010 18:20:12 +0000 (11:20 -0700)
Also: Copyright notices only need the year the file was created.

R=rsc
CC=golang-dev, krasin
https://golang.org/cl/2021041

src/pkg/syscall/syscall_bsd.go

index 46182ada647f78fa6264231c795e65465bb85444..114a9636754d4bc54adbe5006ed15403d37a7027 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2009,2010 The Go Authors. All rights reserved.
+// Copyright 2009 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
@@ -324,7 +324,7 @@ func Socket(domain, typ, proto int) (fd, errno int) {
 }
 
 func Socketpair(domain, typ, proto int) (fd [2]int, errno int) {
-       errno = socketpair(domain, typ, proto, &fd)
+       fd, errno = socketpair(domain, typ, proto)
        return
 }