summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhali <khali>2010-11-24 13:20:02 +0000
committerkhali <khali>2010-11-24 13:20:02 +0000
commitcc56ca269aa1917c0d8cd4dedf59249b4f835e22 (patch)
tree137927cb265565b626b009714544d65fa9d59b2a
parent6f73a81e819d8597e7cfef632cb2582ac6c50c2f (diff)
downloaddmidecode-cc56ca269aa1917c0d8cd4dedf59249b4f835e22.tar.gz
Fix offset of partition width (DMI type 19).
-rw-r--r--dmidecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmidecode.c b/dmidecode.c
index f4b03a1..7cee02a 100644
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -3644,7 +3644,7 @@ static void dmi_decode(const struct dmi_header *h, u16 ver)
printf("\tPhysical Array Handle: 0x%04X\n",
WORD(data + 0x0C));
printf("\tPartition Width: %u\n",
- data[0x0F]);
+ data[0x0E]);
break;
case 20: /* 7.21 Memory Device Mapped Address */