diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2014-05-30 10:18:01 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2014-05-30 10:18:01 +0000 |
commit | dd0118aeefaa360a85a35656cb13f3b439896f89 (patch) | |
tree | ee0c0aa2949314aa2202a1557d8460b06bbba6ac | |
parent | 8278e27fd28c0df57e0b68f56b149642e2d40323 (diff) |
Notes
-rw-r--r-- | lib/libstand/printf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libstand/printf.c b/lib/libstand/printf.c index 1a86e93d9258..157b327ead88 100644 --- a/lib/libstand/printf.c +++ b/lib/libstand/printf.c @@ -64,6 +64,7 @@ static int kvprintf(char const *fmt, kvprintf_fn_t *func, void *arg, int radix, static void putchar_wrapper(int cc, void *arg) { + putchar(cc); } @@ -82,6 +83,7 @@ printf(const char *fmt, ...) void vprintf(const char *fmt, va_list ap) { + kvprintf(fmt, putchar_wrapper, NULL, 10, ap); } |