aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/vfprintf.c')
-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 f458ce2..31ff999 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -1417,7 +1417,7 @@ group_number (CHAR_T *w, CHAR_T *rear_ptr, const CHAR_T *grouping,
/* We treat all negative values like CHAR_MAX. */
- if (*grouping == CHAR_MAX || *grouping < 0)
+ if (*grouping == CHAR_MAX || *grouping <= 0)
/* No grouping should be done. */
return w;