|
|
60918b |
From aec83995082070c47edf394c4b7f9f17fea7fd16 Mon Sep 17 00:00:00 2001
|
|
|
60918b |
From: Jean Delvare <jdelvare@suse.de>
|
|
|
60918b |
Date: Mon, 16 Apr 2018 09:42:25 +0200
|
|
|
60918b |
Subject: [PATCH 3/3] dmidecode: Use lowercase letters for UUID
|
|
|
60918b |
|
|
|
60918b |
RFC 4122 asks for letters a-f in UUID to be lowercase. Follow this
|
|
|
60918b |
recommendation.
|
|
|
60918b |
|
|
|
60918b |
This closes bug #53569:
|
|
|
60918b |
https://savannah.nongnu.org/bugs/index.php?53569
|
|
|
60918b |
|
|
|
60918b |
---
|
|
|
60918b |
dmidecode.c | 4 ++--
|
|
|
60918b |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
60918b |
|
|
|
60918b |
diff --git a/dmidecode.c b/dmidecode.c
|
|
|
60918b |
index a593170..d18a258 100644
|
|
|
60918b |
--- a/dmidecode.c
|
|
|
60918b |
+++ b/dmidecode.c
|
|
|
60918b |
@@ -445,11 +445,11 @@ static void dmi_system_uuid(const u8 *p, u16 ver)
|
|
|
60918b |
* for older versions.
|
|
|
60918b |
*/
|
|
|
60918b |
if (ver >= 0x0206)
|
|
|
60918b |
- printf("%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X",
|
|
|
60918b |
+ printf("%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
|
|
|
60918b |
p[3], p[2], p[1], p[0], p[5], p[4], p[7], p[6],
|
|
|
60918b |
p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]);
|
|
|
60918b |
else
|
|
|
60918b |
- printf("%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X",
|
|
|
60918b |
+ printf("%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
|
|
|
60918b |
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7],
|
|
|
60918b |
p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]);
|
|
|
60918b |
}
|
|
|
60918b |
--
|
|
|
60918b |
2.9.5
|
|
|
60918b |
|