Blame dmidecode-2.11-dmidecode_fix.patch
|
Anton Arapov |
df0f86 |
diff -up dmidecode-2.11/CHANGELOG.dmidecode_fix dmidecode-2.11/CHANGELOG
|
|
Anton Arapov |
df0f86 |
--- dmidecode-2.11/CHANGELOG.dmidecode_fix 2012-03-12 10:25:01.980020072 +0100
|
|
Anton Arapov |
df0f86 |
+++ dmidecode-2.11/CHANGELOG 2012-03-12 10:25:20.123020332 +0100
|
|
Anton Arapov |
df0f86 |
@@ -1,3 +1,8 @@
|
|
Anton Arapov |
df0f86 |
+2011-11-18 Jean Delvare <khali@linux-fr.org>
|
|
Anton Arapov |
df0f86 |
+
|
|
Anton Arapov |
df0f86 |
+ * dmidecode.c: Properly print the hexadecimal value of invalid
|
|
Anton Arapov |
df0f86 |
+ string characters.
|
|
Anton Arapov |
df0f86 |
+
|
|
Anton Arapov |
df0f86 |
2011-11-14 Anton Arapov <anton@redhat.com>
|
|
Anton Arapov |
df0f86 |
|
|
Anton Arapov |
df0f86 |
* dmidecode.c: Make dmi_chassis_type aware of the lock bit.
|
|
Anton Arapov |
df0f86 |
diff -up dmidecode-2.11/dmidecode.c.dmidecode_fix dmidecode-2.11/dmidecode.c
|
|
Anton Arapov |
df0f86 |
--- dmidecode-2.11/dmidecode.c.dmidecode_fix 2012-03-12 10:25:11.261020199 +0100
|
|
Anton Arapov |
df0f86 |
+++ dmidecode-2.11/dmidecode.c 2012-03-12 10:25:20.124020332 +0100
|
|
Anton Arapov |
df0f86 |
@@ -197,7 +197,7 @@ static void dmi_dump(const struct dmi_he
|
|
Anton Arapov |
df0f86 |
printf("%s\t", prefix);
|
|
Anton Arapov |
df0f86 |
for (j = 0; j < 16 && j < l - (row << 4); j++)
|
|
Anton Arapov |
df0f86 |
printf("%s%02X", j ? " " : "",
|
|
Anton Arapov |
df0f86 |
- s[(row << 4) + j]);
|
|
Anton Arapov |
df0f86 |
+ (unsigned char)s[(row << 4) + j]);
|
|
Anton Arapov |
df0f86 |
printf("\n");
|
|
Anton Arapov |
df0f86 |
}
|
|
Anton Arapov |
df0f86 |
/* String isn't filtered yet so do it now */
|