mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
Ports: Update dmidecode's patches to use git patches
This commit is contained in:
parent
03e9253d37
commit
09d63910c2
3 changed files with 30 additions and 14 deletions
|
@ -0,0 +1,25 @@
|
|||
From 546bd7af0869cb4064d7e29baacfdaa1e174d063 Mon Sep 17 00:00:00 2001
|
||||
From: Liav A <liavalb@gmail.com>
|
||||
Date: Fri, 1 Apr 2022 11:01:13 +0300
|
||||
Subject: [PATCH] Use serenity's firmware binary path
|
||||
|
||||
---
|
||||
dmidecode.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dmidecode.c b/dmidecode.c
|
||||
index cd2b5c9..49bf30e 100644
|
||||
--- a/dmidecode.c
|
||||
+++ b/dmidecode.c
|
||||
@@ -90,7 +90,7 @@ static const char *bad_index = "<BAD INDEX>";
|
||||
#define FLAG_NO_FILE_OFFSET (1 << 0)
|
||||
#define FLAG_STOP_AT_EOT (1 << 1)
|
||||
|
||||
-#define SYS_FIRMWARE_DIR "/sys/firmware/dmi/tables"
|
||||
+#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"
|
||||
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue