Commit 0cd1823
kernel_tainted: use linux build tag instead of !windows (#847)
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>1 parent 1de9cf3 commit 0cd1823
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments