diff options
-rw-r--r-- | util/nvramtool/accessors/layout-text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvramtool/accessors/layout-text.c b/util/nvramtool/accessors/layout-text.c index 5f7cadea97..cbe698c504 100644 --- a/util/nvramtool/accessors/layout-text.c +++ b/util/nvramtool/accessors/layout-text.c @@ -149,7 +149,7 @@ static const char enums_line_regex[] = /* followed by one or more whitespace characters */ "[[:space:]]+" /* followed by a chunk of nonwhitespace for text field */ - "([^[:space:]]+)" + "([[:print:]]*[^[:space:]])" /* followed by optional whitespace */ "[[:space:]]*$"; |