Ports: Fix dmidecode SYS_FIRMWARE_DIR patched macro

This commit is contained in:
Liav A 2022-04-01 10:57:35 +03:00 committed by Andreas Kling
parent 684c39bc19
commit 9af62ba6e3
Notes: sideshowbarker 2024-07-17 16:22:38 +09:00

View file

@ -6,7 +6,7 @@ diff -u b/dmidecode.c b/dmidecode.c
#define FLAG_STOP_AT_EOT (1 << 1)
-#define SYS_FIRMWARE_DIR "/sys/firmware/dmi/tables"
+#define SYS_FIRMWARE_DIR "/sys/bios"
+#define SYS_FIRMWARE_DIR "/sys/firmware/bios"
#define SYS_ENTRY_FILE SYS_FIRMWARE_DIR "/smbios_entry_point"
#define SYS_TABLE_FILE SYS_FIRMWARE_DIR "/DMI"