From dbbe32ee53db2158ac5bcf2f4e1261762cb47937 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Fri, 20 Aug 2010 11:20:12 -0700 Subject: [PATCH] fix build 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/syscall/syscall_bsd.go b/src/pkg/syscall/syscall_bsd.go index 46182ada64..114a963675 100644 --- a/src/pkg/syscall/syscall_bsd.go +++ b/src/pkg/syscall/syscall_bsd.go @@ -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 } -- 2.50.0