mirror of
https://github.com/prometheus/procfs.git
synced 2026-11-23 19:00:56 +00:00
util.SysReadUintFromFile is defined in internal/util/sysreadfile.go which has a //go:build linux constraint. Using !windows caused build failures on OpenBSD and other non-Linux, non-Windows platforms. /proc/sys/kernel/tainted is Linux-specific, so linux is the correct build tag. Signed-off-by: Arun Srinivasan <arun.srinivasan@flipkart.com> Signed-off-by: Arun S <arun.srinivasan@flipkart.com> Co-authored-by: Arun S <arun.srinivasan@flipkart.com>
85 lines
2.3 KiB
85 lines
2.3 KiB