From cb6cbe200e80a34f7cf43020a0207a4a887afec0 Mon Sep 17 00:00:00 2001 From: khali Date: Tue, 25 Feb 2014 20:48:37 +0000 Subject: Fix spacing of memory module voltage attributes (DMI type 17) --- CHANGELOG | 5 +++++ dmidecode.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 16a0388..65def48 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +2014-02-25 Jean Delvare + + * dmidecode.c: Fix spacing of memory module voltage attributes + (DMI type 17). + 2014-01-13 Jean Delvare * dmidecode.c: Decode ID of PCI Express 3 slots (DMI type 9). diff --git a/dmidecode.c b/dmidecode.c index 21a51d6..d033f35 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -3665,13 +3665,13 @@ static void dmi_decode(const struct dmi_header *h, u16 ver) dmi_memory_device_speed(WORD(data + 0x20)); printf("\n"); if (h->length < 0x28) break; - printf("\tMinimum Voltage: "); + printf("\tMinimum Voltage:"); dmi_memory_voltage_value(WORD(data + 0x22)); printf("\n"); - printf("\tMaximum Voltage: "); + printf("\tMaximum Voltage:"); dmi_memory_voltage_value(WORD(data + 0x24)); printf("\n"); - printf("\tConfigured Voltage: "); + printf("\tConfigured Voltage:"); dmi_memory_voltage_value(WORD(data + 0x26)); printf("\n"); break; -- cgit v1.2.1