Commit dbbe32ee authored by Robert Griesemer's avatar Robert Griesemer

fix build

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

R=rsc
CC=golang-dev, krasin
https://golang.org/cl/2021041
parent 5a027439
// 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 // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
...@@ -324,7 +324,7 @@ func Socket(domain, typ, proto int) (fd, errno int) { ...@@ -324,7 +324,7 @@ func Socket(domain, typ, proto int) (fd, errno int) {
} }
func Socketpair(domain, typ, proto int) (fd [2]int, 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 return
} }
......
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