mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update package
This commit is contained in:
parent
56074d215a
commit
ebaeafb3f5
2 changed files with 1 additions and 8 deletions
7
vendor/golang.org/x/sys/cpu/cpu_arm64.go
generated
vendored
7
vendor/golang.org/x/sys/cpu/cpu_arm64.go
generated
vendored
|
|
@ -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
|
|
||||||
2
vendor/golang.org/x/sys/unix/syscall_solaris.go
generated
vendored
2
vendor/golang.org/x/sys/unix/syscall_solaris.go
generated
vendored
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue