aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index 26277e2b22..087bf91b21 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -1185,7 +1185,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
if (str2 == NULL) \
len = strlen (string); \
else \
- len = str2 - string - (ps.__count); \
+ len = str2 - string - (ps.__count & 7); \
} \
} \
else \