commit | c3fc4b933708a594d169e40a82d5f29f304d11c9 | [log] [tgz] |
---|---|---|
author | Patrick Georgi <patrick@georgi-clan.de> | Sat Apr 14 16:21:39 2012 +0200 |
committer | Patrick Georgi <patrick@georgi-clan.de> | Sat Apr 21 09:35:10 2012 +0200 |
tree | 5ddf19cbca2b2247e495f3270e343da8f0a43611 | |
parent | 26b00e6d3954dcfa00ee4d7c874161b2fbdd2ce2 [diff] |
nvramtool: Allow spaces in enumeration names Change-Id: Id526e74f06fb15d4692d7b6edc8b5863f2d42c50 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/901 Tested-by: build bot (Jenkins)
diff --git a/util/nvramtool/accessors/layout-text.c b/util/nvramtool/accessors/layout-text.c index 5f7cade..cbe698c 100644 --- a/util/nvramtool/accessors/layout-text.c +++ b/util/nvramtool/accessors/layout-text.c
@@ -149,7 +149,7 @@ /* 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:]]*$";