Bios (NetBSD): try detecting boot method

This commit is contained in:
Carter Li
2024-10-31 00:40:29 +08:00
parent cae8286621
commit c693e5ab5f
+1 -1
View File
@@ -10,6 +10,6 @@ const char* ffDetectBios(FFBiosResult* bios)
ffCleanUpSmbiosValue(&bios->version);
if (ffSysctlGetString("machdep.dmi.bios-vendor", &bios->vendor) == NULL)
ffCleanUpSmbiosValue(&bios->vendor);
ffSysctlGetString("machdep.bootmethod", &bios->type);
return NULL;
}