summaryrefslogtreecommitdiff
path: root/gcc/config/sol2-c.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-08 16:28:39 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-08 16:28:39 +0000
commitede34e3c5bbcf9fb60e81325f17ddbac114dd8d3 (patch)
treefcc384adf6138fe3dc55724079c40f5c28159231 /gcc/config/sol2-c.c
parent6db1add94af11ff869c4c1c91130a6387d957a3f (diff)
downloadgcc-ede34e3c5bbcf9fb60e81325f17ddbac114dd8d3.tar.gz
* config/sol2-c.c (cmn_err_char_table): Allow width for %b
formats. testsuite: * gcc.dg/format/cmn_err-1.c: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100763 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sol2-c.c')
-rw-r--r--gcc/config/sol2-c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sol2-c.c b/gcc/config/sol2-c.c
index 330f1ca3c2f..e0fb26252d7 100644
--- a/gcc/config/sol2-c.c
+++ b/gcc/config/sol2-c.c
@@ -66,7 +66,7 @@ static const format_char_info cmn_err_char_table[] =
{ "c", 0, STD_C89, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "w", "", NULL },
{ "p", 1, STD_C89, { T89_V, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "w", "c", NULL },
{ "s", 1, STD_C89, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "w", "cR", NULL },
- { "b", 0, STD_C89, { T89_I, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "", "", &bitfield_string_type },
+ { "b", 0, STD_C89, { T89_I, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "w", "", &bitfield_string_type },
{ NULL, 0, 0, NOLENGTHS, NULL, NULL, NULL }
};