summaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-02-26 01:06:05 +0000
committerUlrich Drepper <drepper@redhat.com>1997-02-26 01:06:05 +0000
commit4f72518358f9c217d00b8655cae01ad6bf77d9fa (patch)
tree2a3120a10d54d481695c794f68fe7f1f92573048 /stdio-common
parent655fe3107058017a6d4e618be03b91b119457354 (diff)
update from main archive 970226
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index eda0d7bd8e..4bd564fdc0 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -1405,16 +1405,16 @@ printf_unknown (FILE *s, const struct printf_info *info,
if (info->width != 0)
{
w = _itoa_word (info->width, workend + 1, 10, 0);
- while (++w <= workend)
- outchar (*w);
+ while (w <= workend)
+ outchar (*w++);
}
if (info->prec != -1)
{
outchar ('.');
w = _itoa_word (info->prec, workend + 1, 10, 0);
- while (++w <= workend)
- outchar (*w);
+ while (w <= workend)
+ outchar (*w++);
}
if (info->spec != '\0')