diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 06:57:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 06:57:46 +0000 |
commit | 5e18c2b7bf584f7defb8b73f3e0a4843e3da9bbc (patch) | |
tree | d0465cd6e1cbbd6344562de8dd7480b043ae0fc2 /lib/libc/stdio/vfprintf.c | |
parent | 89da542295094c69854c9bfec672d7f26cb8e581 (diff) |
a first pass at -Wall
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r-- | lib/libc/stdio/vfprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c index 2777b04dbba..aef694bfbcc 100644 --- a/lib/libc/stdio/vfprintf.c +++ b/lib/libc/stdio/vfprintf.c @@ -35,7 +35,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: vfprintf.c,v 1.11 2001/05/31 18:11:38 deraadt Exp $"; +static char *rcsid = "$OpenBSD: vfprintf.c,v 1.12 2001/07/09 06:57:45 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -740,7 +740,7 @@ number: if ((dprec = prec) >= 0) ox[0] = *cp++; ox[1] = '.'; PRINT(ox, 2); - if (_double || flags & ALT == 0) { + if (_double || (flags & ALT) == 0) { PRINT(cp, ndig-1); } else /* 0.[0..] */ /* __dtoa irregularity */ |