From 4bb450cfa39926171ea6b8a08a6b97ec22709bee Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Thu, 21 Aug 2008 15:49:29 +0000 Subject: [PATCH] Emergency patch so that section checker won't bounce option tables. Also gets rid of hard-codes in fwrite for strings that might, in future, vary. Signed-off-by: Ronald G. Minnich Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/coreboot-v3@791 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- util/options/build_opt_tbl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/util/options/build_opt_tbl.c b/util/options/build_opt_tbl.c index a72aea43b0..42d51c4ac3 100644 --- a/util/options/build_opt_tbl.c +++ b/util/options/build_opt_tbl.c @@ -237,7 +237,8 @@ int main(int argc, char **argv) int enum_length; int len; char buf[16]; - + char *preamble = "const unsigned char option_table[] = {"; + char *postamble = "};\n"; for(i=1;i