From a8772aa7a6c088c9845406d9566e59630f7f4c92 Mon Sep 17 00:00:00 2001 From: Ast-x64 Date: Mon, 27 Feb 2023 18:30:03 +0900 Subject: [PATCH] elf: Add utsname support for riscv64 According to https://go.dev/src/syscall/ztypes_linux_riscv64.go#L573 we should use uint8 on riscv64. --- elf/utsname_uint8.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elf/utsname_uint8.go b/elf/utsname_uint8.go index 654ed469..3c4957c8 100644 --- a/elf/utsname_uint8.go +++ b/elf/utsname_uint8.go @@ -1,4 +1,4 @@ -// +build linux,arm linux,ppc64 linux,ppc64le s390x +// +build linux,arm linux,ppc64 linux,ppc64le linux,riscv64 s390x package elf