diff options
author | das <das@FreeBSD.org> | 2005-03-21 08:00:55 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2005-03-21 08:00:55 +0000 |
commit | 79d24f2484be4474682749ca0ad8fcc097aea491 (patch) | |
tree | c41f8edbd4cb4e344dfd4c5ab0e9b8ec36b37336 /lib/libc | |
parent | 47633d30dcb070a831e72d6f17f9c028f1b1c901 (diff) | |
download | FreeBSD-src-79d24f2484be4474682749ca0ad8fcc097aea491.zip FreeBSD-src-79d24f2484be4474682749ca0ad8fcc097aea491.tar.gz |
Teach fmtcheck() about the ' (thousands separator) flag.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/fmtcheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/fmtcheck.c b/lib/libc/gen/fmtcheck.c index 661cb8a..ca93983 100644 --- a/lib/libc/gen/fmtcheck.c +++ b/lib/libc/gen/fmtcheck.c @@ -228,7 +228,7 @@ get_next_format(const char **pf, EFT eft) } /* Eat any of the flags */ - while (*f && (strchr("#0- +", *f))) + while (*f && (strchr("#'0- +", *f))) f++; if (*f == '*') { |