aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-29 14:14:19 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:11:15 +0100
commitc08eba77232a2c69c4312c203ddf86330d2214a1 (patch)
treed0b171f5c0b9258c57022a7d9205fd1500ae432e /com32
parent9a00c80785ab2f5cd37d0382ce77ff51dd1bb25f (diff)
downloadsyslinux.git-c08eba77232a2c69c4312c203ddf86330d2214a1.tar.gz
syslinux.git-c08eba77232a2c69c4312c203ddf86330d2214a1.tar.xz
syslinux.git-c08eba77232a2c69c4312c203ddf86330d2214a1.zip
hdt: Fixing wrong Part Number display
Impact: Visual In the memory bank display, the part number wasn't correctly padded.
Diffstat (limited to 'com32')
-rw-r--r--com32/hdt/hdt-menu-memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-menu-memory.c b/com32/hdt/hdt-menu-memory.c
index 75e51a70..6c82b11c 100644
--- a/com32/hdt/hdt-menu-memory.c
+++ b/com32/hdt/hdt-menu-memory.c
@@ -238,7 +238,7 @@ static void compute_memory_module(struct s_my_menu *menu, s_dmi * dmi,
snprintf(buffer, sizeof buffer, "Part Number : %s",
dmi->memory[i].part_number);
- snprintf(buffer, sizeof statbuffer, "Part Number: %s",
+ snprintf(statbuffer, sizeof statbuffer, "Part Number: %s",
dmi->memory[i].part_number);
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;