Hans Leidekker : ntdll: Fix sysfs path for the product name.

Alexandre Julliard julliard at winehq.org
Tue Jul 2 15:32:02 CDT 2019


Module: wine
Branch: master
Commit: bd8ce4c1b198697553b570777be7268ee3c2947f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bd8ce4c1b198697553b570777be7268ee3c2947f

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Jul  2 15:28:33 2019 +0200

ntdll: Fix sysfs path for the product name.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/nt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 0dc06f9..2a2bd4f 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -2093,7 +2093,7 @@ static NTSTATUS get_firmware_info(SYSTEM_FIRMWARE_TABLE_INFORMATION *sfti, ULONG
             bios_version_len = get_smbios_string("/sys/class/dmi/id/bios_version", S(bios_version));
             bios_date_len = get_smbios_string("/sys/class/dmi/id/bios_date", S(bios_date));
             system_vendor_len = get_smbios_string("/sys/class/dmi/id/sys_vendor", S(system_vendor));
-            system_product_len = get_smbios_string("/sys/class/dmi/id/product", S(system_product));
+            system_product_len = get_smbios_string("/sys/class/dmi/id/product_name", S(system_product));
             system_version_len = get_smbios_string("/sys/class/dmi/id/product_version", S(system_version));
             system_serial_len = get_smbios_string("/sys/class/dmi/id/product_serial", S(system_serial));
             board_vendor_len = get_smbios_string("/sys/class/dmi/id/board_vendor", S(board_vendor));




More information about the wine-cvs mailing list