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