Skip to content

Commit 1aef508

Browse files
committed
dmidecode: Clarify the memory speed unit
Change the memory speed unit from MHz to MT/s as advised by version 3.1.0 of the SMBIOS specification. Signed-off-by: Jean Delvare <jdelvare@suse.de>
1 parent c3fd5fb commit 1aef508

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* dmidecode.c: Add support for large cache sizes (DMI type 7).
1414
* dmidecode.c: Add Mini PCIe system slot enumerated values
1515
(DMI type 9).
16+
* dmidecode.c: Clarify the memory speed unit (DMI type 17).
1617

1718
2017-04-11 Jean Delvare <jdelvare@suse.de>
1819

dmidecode.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2490,7 +2490,7 @@ static void dmi_memory_device_speed(u16 code)
24902490
if (code == 0)
24912491
printf(" Unknown");
24922492
else
2493-
printf(" %u MHz", code);
2493+
printf(" %u MT/s", code);
24942494
}
24952495

24962496
/*

0 commit comments

Comments
 (0)