summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-08-27 00:40:39 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-08-27 00:40:39 +0000
commitc98df4f5cb45b4fefb8457504a8a7defe97b2b5a (patch)
tree98a14bb1fd1be30e212ee8ad39de26328233cd9b /lib/libc
parent956619bc344de12d953fdca78c7ecc3086bf4f78 (diff)
comment fixes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/vfprintf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index c8d364d7bc0..9e651cab145 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfprintf.c,v 1.50 2008/08/26 18:29:12 martynas Exp $ */
+/* $OpenBSD: vfprintf.c,v 1.51 2008/08/27 00:40:38 martynas Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -201,7 +201,7 @@ vfprintf(FILE *fp, const char *fmt0, __va_list ap)
#ifdef FLOATING_POINT
char *decimal_point = localeconv()->decimal_point;
int softsign; /* temporary negative sign for floats */
- double _double; /* double precision arguments %[eEfgG] */
+ double _double; /* double precision arguments %[eEfFgG] */
int expt; /* integer value of exponent */
int expsize; /* character count for expstr */
int ndig; /* actual number of digits returned by cvt */
@@ -210,15 +210,15 @@ vfprintf(FILE *fp, const char *fmt0, __va_list ap)
#endif
uintmax_t _umax; /* integer arguments %[diouxX] */
- enum { OCT, DEC, HEX } base;/* base for [diouxX] conversion */
- int dprec; /* a copy of prec if [diouxX], 0 otherwise */
+ enum { OCT, DEC, HEX } base;/* base for %[diouxX] conversion */
+ int dprec; /* a copy of prec if %[diouxX], 0 otherwise */
int realsz; /* field size expanded by dprec */
int size; /* size of converted field or string */
- char *xdigs; /* digits for [xX] conversion */
+ char *xdigs; /* digits for %[xX] conversion */
#define NIOV 8
struct __suio uio; /* output information: summary */
struct __siov iov[NIOV];/* ... and individual io vectors */
- char buf[BUF]; /* space for %c, %[diouxX], %[eEfgG] */
+ char buf[BUF]; /* space for %c, %[diouxX], %[eEfFgG] */
char ox[2]; /* space for 0x hex-prefix */
union arg *argtable; /* args, built due to positional arg */
union arg statargtable[STATIC_ARG_TBL_SIZE];
@@ -753,7 +753,7 @@ number: if ((dprec = prec) >= 0)
* first be prefixed by any sign or other prefix; otherwise,
* it should be blank padded before the prefix is emitted.
* After any left-hand padding and prefixing, emit zeroes
- * required by a decimal [diouxX] precision, then print the
+ * required by a decimal %[diouxX] precision, then print the
* string proper, then emit zeroes required by any leftover
* floating precision; finally, if LADJUST, pad with blanks.
*