We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Build fails:
/github.com/shirou/gopsutil/disk/disk_freebsd.go:195:43: cannot use stat.Fstypename[:] (type []byte) as type []int8 in argument to common.IntToString
To Reproduce
build on FreeBSD
Expected behavior
build succeeds
Environment (please complete the following information):
FreeBSD 13-CURRENT on amd64
Additional context
The following diff fixes the bug and keeps the functionality:
@@ -192,5 +193,5 @@ func parseDevstat(buf []byte) (Devstat, error) { } func getFsType(stat unix.Statfs_t) string { - return common.IntToString(stat.Fstypename[:]) + return string(stat.Fstypename[:]) }
The text was updated successfully, but these errors were encountered:
Upgrade golang.org/x/sys, see #853 for context.
golang.org/x/sys
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Build fails:
To Reproduce
build on FreeBSD
Expected behavior
build succeeds
Environment (please complete the following information):
FreeBSD 13-CURRENT on amd64
Additional context
The following diff fixes the bug and keeps the functionality:
The text was updated successfully, but these errors were encountered: