mirror of
https://github.com/golang/go
synced 2024-11-25 05:38:01 -07: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:
parent
5a0274399a
commit
dbbe32ee53
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user