dmidecode-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dmidecode] [PATCH 08/10] dmidecode: Clarify the memory speed unit


From: Jean Delvare
Subject: [dmidecode] [PATCH 08/10] dmidecode: Clarify the memory speed unit
Date: Mon, 10 Apr 2017 11:56:45 +0200

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 <address@hidden>
---
 dmidecode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- dmidecode.orig/dmidecode.c  2017-04-06 14:49:18.246172245 +0200
+++ dmidecode/dmidecode.c       2017-04-06 15:11:44.818787121 +0200
@@ -2490,7 +2490,7 @@ static void dmi_memory_device_speed(u16
        if (code == 0)
                printf(" Unknown");
        else
-               printf(" %u MHz", code);
+               printf(" %u MT/s", code);
 }
 
 /*

-- 
Jean Delvare
SUSE L3 Support



reply via email to

[Prev in Thread] Current Thread [Next in Thread]