summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/dmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dmi.c b/core/dmi.c
index e4deb15b..045b133b 100644
--- a/core/dmi.c
+++ b/core/dmi.c
@@ -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++;
}