about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfprintf.c56
1 files changed, 28 insertions, 28 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index 4f9cd9b424..a5902164ee 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -806,20 +806,20 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
 									      \
 	if (fspec == NULL)						      \
 	  {								      \
-	    struct printf_info info = { prec: prec,			      \
-					width: width,			      \
-					spec: spec,			      \
-					is_long_double: is_long_double,	      \
-					is_short: is_short,		      \
-					is_long: is_long,		      \
-					alt: alt,			      \
-					space: space,			      \
-					left: left,			      \
-					showsign: showsign,		      \
-					group: group,			      \
-					pad: pad,			      \
-					extra: 0,			      \
-					wide: sizeof (CHAR_T) != 1 };	      \
+	    struct printf_info info = { .prec = prec,			      \
+					.width = width,			      \
+					.spec = spec,			      \
+					.is_long_double = is_long_double,     \
+					.is_short = is_short,		      \
+					.is_long = is_long,		      \
+					.alt = alt,			      \
+					.space = space,			      \
+					.left = left,			      \
+					.showsign = showsign,		      \
+					.group = group,			      \
+					.pad = pad,			      \
+					.extra = 0,			      \
+					.wide = sizeof (CHAR_T) != 1 };	      \
 									      \
 	    if (is_long_double)						      \
 	      the_arg.pa_long_double = va_arg (ap, long double);	      \
@@ -855,20 +855,20 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
 									      \
 	if (fspec == NULL)						      \
 	  {								      \
-	    struct printf_info info = { prec: prec,			      \
-					width: width,			      \
-					spec: spec,			      \
-					is_long_double: is_long_double,	      \
-					is_short: is_short,		      \
-					is_long: is_long,		      \
-					alt: alt,			      \
-					space: space,			      \
-					left: left,			      \
-					showsign: showsign,		      \
-					group: group,			      \
-					pad: pad,			      \
-					extra: 0,			      \
-					wide: sizeof (CHAR_T) != 1 };	      \
+	    struct printf_info info = { .prec = prec,			      \
+					.width = width,			      \
+					.spec = spec,			      \
+					.is_long_double = is_long_double,     \
+					.is_short = is_short,		      \
+					.is_long = is_long,		      \
+					.alt = alt,			      \
+					.space = space,			      \
+					.left = left,			      \
+					.showsign = showsign,		      \
+					.group = group,			      \
+					.pad = pad,			      \
+					.extra = 0,			      \
+					.wide = sizeof (CHAR_T) != 1 };	      \
 									      \
 	    if (is_long_double)						      \
 	      the_arg.pa_long_double = va_arg (ap, long double);	      \