summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/printf.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-02-29 13:27:47 +0000
committerniklas <niklas@openbsd.org>1996-02-29 13:27:47 +0000
commit9f13aad21f7da8bf5c44def9529bad403f028f74 (patch)
tree31799fb4b95bdd2d530f546a64468b142a3727eb /sys/lib/libsa/printf.c
parentFix typo in comment (diff)
downloadwireguard-openbsd-9f13aad21f7da8bf5c44def9529bad403f028f74.tar.xz
wireguard-openbsd-9f13aad21f7da8bf5c44def9529bad403f028f74.zip
From NetBSD: Merge with NetBSD 960217
Diffstat (limited to 'sys/lib/libsa/printf.c')
-rw-r--r--sys/lib/libsa/printf.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/lib/libsa/printf.c b/sys/lib/libsa/printf.c
index a0a6dc86442..3f038648131 100644
--- a/sys/lib/libsa/printf.c
+++ b/sys/lib/libsa/printf.c
@@ -1,4 +1,5 @@
-/* $NetBSD: printf.c,v 1.6 1995/09/03 20:51:21 pk Exp $ */
+/* $OpenBSD: printf.c,v 1.2 1996/02/29 13:29:23 niklas Exp $ */
+/* $NetBSD: printf.c,v 1.7 1996/02/08 20:19:36 gwr Exp $ */
/*-
* Copyright (c) 1993
@@ -122,6 +123,12 @@ printf(fmt, va_alist)
}
void
+vprintf(const char *fmt, va_list ap)
+{
+ kprintf(putchar, fmt, ap);
+}
+
+void
kprintf(put, fmt, ap)
void (*put)__P((int));
const char *fmt;