From 79d24f2484be4474682749ca0ad8fcc097aea491 Mon Sep 17 00:00:00 2001 From: das Date: Mon, 21 Mar 2005 08:00:55 +0000 Subject: Teach fmtcheck() about the ' (thousands separator) flag. --- lib/libc/gen/fmtcheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/gen/fmtcheck.c') 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 == '*') { -- cgit v1.1