1
0
mirror of https://github.com/golang/go synced 2024-09-25 01:20:13 -06:00

fix build

Also: Copyright notices only need the year the file was created.

R=rsc
CC=golang-dev, krasin
https://golang.org/cl/2021041
This commit is contained in:
Robert Griesemer 2010-08-20 11:20:12 -07:00
parent 5a0274399a
commit dbbe32ee53

View 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
}