summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-common.c
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-01-31 17:03:02 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-31 17:03:02 +0100
commit52ffd694910222ecde123140dac3b04cabe15f56 (patch)
tree4ab4230326cf6f15ac87738ea3df2c77f8863ede /com32/hdt/hdt-common.c
parente5aa41f5789f760b9056908633664ff9d57c4893 (diff)
downloadsyslinux-52ffd694910222ecde123140dac3b04cabe15f56.tar.gz
hdt: Don't skrink cpu name
Diffstat (limited to 'com32/hdt/hdt-common.c')
-rw-r--r--com32/hdt/hdt-common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/com32/hdt/hdt-common.c b/com32/hdt/hdt-common.c
index 5953be3b..537e1046 100644
--- a/com32/hdt/hdt-common.c
+++ b/com32/hdt/hdt-common.c
@@ -661,9 +661,6 @@ char *del_multi_spaces(char *p)
* the content from the second space*/
strlcpy(p, p + 1, strlen(p + 1));
- /* The string is 1 char smaller */
- *(p + strlen(p) - 1) = '\0';
-
/* Don't increment the pointer as we
* changed the content of the current position*/
continue;