From 0495db537adacc47e69047204b3385e6b9581942 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 26 Apr 2011 17:46:29 -0700 Subject: [PATCH] dmi: actually advance the end pointer properly ... so we don't just end up with a single character per string. Signed-off-by: H. Peter Anvin --- core/dmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dmi.c b/core/dmi.c index e4deb15..045b133 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++; } -- 2.7.4