summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-12-19 19:43:01 +0000
committermillert <millert@openbsd.org>2005-12-19 19:43:01 +0000
commitec0e09d54d87e4ec63e83ffde6e673039a8f8a43 (patch)
tree88391d9fac8f2a1c5e2c0b10c0377f3b881881a4 /lib/libc/stdio/vfprintf.c
parentAdd %hhd to *printf and *scanf as well as %z to *scanf. This was (diff)
downloadwireguard-openbsd-ec0e09d54d87e4ec63e83ffde6e673039a8f8a43.tar.xz
wireguard-openbsd-ec0e09d54d87e4ec63e83ffde6e673039a8f8a43.zip
Missing piece from previous commit
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index b22dea8f0e7..57893187c9a 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfprintf.c,v 1.34 2005/12/19 19:39:25 millert Exp $ */
+/* $OpenBSD: vfprintf.c,v 1.35 2005/12/19 19:43:01 millert Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -147,6 +147,7 @@ static int exponent(char *, int, int);
#define FPT 0x100 /* Floating point number */
#define PTRINT 0x200 /* (unsigned) ptrdiff_t */
#define SIZEINT 0x400 /* (signed) size_t */
+#define CHARINT 0x800 /* 8 bit integer */
int
vfprintf(FILE *fp, const char *fmt0, _BSD_VA_LIST_ ap)