1 From 41ddd1c8e60946cc7635773d5ba4c8d0c175ed95 Mon Sep 17 00:00:00 2001
2 From: Yuri Pankov <yuri.pankov@nexenta.com>
3 Date: Mon, 13 Feb 2017 18:14:45 +0300
4 Subject: 19 cmn_err %b conversion should accept 0 flag Reviewed
5 by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe
6 <richlowe@richlowe.net>
9 gcc/config/sol2-c.cc | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/gcc/config/sol2-c.cc b/gcc/config/sol2-c.cc
13 index 9838f37a066..045655a6e0a 100644
14 --- a/gcc/config/sol2-c.cc
15 +++ b/gcc/config/sol2-c.cc
16 @@ -67,7 +67,7 @@ static const format_char_info cmn_err_char_table[] =
17 { "c", 0, STD_C89, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w", "", NULL },
18 { "p", 1, STD_C89, { T89_V, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w", "c", NULL },
19 { "s", 1, STD_C89, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "cR", NULL },
20 - { "b", 0, STD_C89, { T89_I, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w", "", &bitfield_string_type },
21 + { "b", 0, STD_C89, { T89_I, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w0", "", &bitfield_string_type },
22 { NULL, 0, STD_C89, NOLENGTHS, NULL, NULL, NULL }