aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/host
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/host')
-rw-r--r--pkg/host/host_netbsd.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/host/host_netbsd.go b/pkg/host/host_netbsd.go
index 160929194..dffdec5d7 100644
--- a/pkg/host/host_netbsd.go
+++ b/pkg/host/host_netbsd.go
@@ -23,6 +23,7 @@ func init() {
checkFeature[FeatureComparisons] = unconditionallyEnabled
checkFeature[FeatureUSBEmulation] = checkUSBEmulation
checkFeature[FeatureExtraCoverage] = checkUSBEmulation
+ checkFeature[FeatureFault] = checkFault
}
func checkUSBEmulation() string {
@@ -31,3 +32,10 @@ func checkUSBEmulation() string {
}
return ""
}
+
+func checkFault() string {
+ if err := osutil.IsAccessible("/dev/fault"); err != nil {
+ return err.Error()
+ }
+ return ""
+}