summaryrefslogtreecommitdiff
path: root/printf
diff options
context:
space:
mode:
Diffstat (limited to 'printf')
-rw-r--r--printf/repl-vsnprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/printf/repl-vsnprintf.c b/printf/repl-vsnprintf.c
index ae18733bc..e61d69ed0 100644
--- a/printf/repl-vsnprintf.c
+++ b/printf/repl-vsnprintf.c
@@ -242,7 +242,7 @@ __gmp_replacement_vsnprintf (char *buf, size_t buf_size,
}
else
(void) va_arg (ap, double);
- break;
+ goto next;
case 'f':
/* Requested decimals, sign and point, and a margin for error,
@@ -263,7 +263,7 @@ __gmp_replacement_vsnprintf (char *buf, size_t buf_size,
(void) va_arg (ap, double);
total_width += double_digits;
}
- break;
+ goto next;
case 'h': /* short or char */
case 'j': /* intmax_t */