diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-26 17:46:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-26 17:46:29 -0700 |
commit | 0495db537adacc47e69047204b3385e6b9581942 (patch) | |
tree | f8fb48f0e1d1b6bd68f6e320629e1c1452869561 /core | |
parent | ecc3cb5682637f375c6733e38e0a3220c2793739 (diff) | |
download | syslinux-0495db537adacc47e69047204b3385e6b9581942.tar.gz |
dmi: actually advance the end pointer properlysyslinux-4.10-pre8
... so we don't just end up with a single character per string.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/dmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -278,7 +278,7 @@ static const char *dmi_install_string(const char *pfx, const char *str) ep = p = str; while (*p) { if (!is_ctl_or_whitespace(*p)) - ep = str+1; + ep = p+1; p++; } |