Update package

This commit is contained in:
Julian Yap 2019-05-23 00:51:00 -07:00
parent 56074d215a
commit ebaeafb3f5
2 changed files with 1 additions and 8 deletions

View file

@ -1,7 +0,0 @@
// Copyright 2018 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.
package cpu
const cacheLineSize = 64

View file

@ -263,7 +263,7 @@ func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (int, erro
//sys gethostname(buf []byte) (n int, err error) //sys gethostname(buf []byte) (n int, err error)
func Gubiqostname() (name string, err error) { func Gethostname() (name string, err error) {
var buf [MaxHostNameLen]byte var buf [MaxHostNameLen]byte
n, err := gethostname(buf[:]) n, err := gethostname(buf[:])
if n != 0 { if n != 0 {