diff options
author | deraadt <deraadt@openbsd.org> | 2019-05-11 16:56:47 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2019-05-11 16:56:47 +0000 |
commit | 48789c6b3cc6d5509061289b43f25a60f25906ef (patch) | |
tree | 245242066a31e915278cd33359c793537e7f87ef /sys/lib | |
parent | Make rt_mpls_set() be more strict in what it accepts. Also ensure that (diff) | |
download | wireguard-openbsd-48789c6b3cc6d5509061289b43f25a60f25906ef.tar.xz wireguard-openbsd-48789c6b3cc6d5509061289b43f25a60f25906ef.zip |
we have never built without %b support
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/libsa/printf.c | 4 | ||||
-rw-r--r-- | sys/lib/libsa/snprintf.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/lib/libsa/printf.c b/sys/lib/libsa/printf.c index a1183b26b9f..6a049f2e27b 100644 --- a/sys/lib/libsa/printf.c +++ b/sys/lib/libsa/printf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printf.c,v 1.28 2018/01/17 08:46:15 patrick Exp $ */ +/* $OpenBSD: printf.c,v 1.29 2019/05/11 16:56:47 deraadt Exp $ */ /* $NetBSD: printf.c,v 1.10 1996/11/30 04:19:21 gwr Exp $ */ /*- @@ -132,7 +132,6 @@ reswitch: switch (ch) { case 'l': lflag++; goto rflag; -#ifndef STRIPPED case 'b': { int set, n; @@ -158,7 +157,6 @@ reswitch: switch (ch) { put('>'); } break; -#endif case 'c': ch = va_arg(ap, int); put(ch & 0x7f); diff --git a/sys/lib/libsa/snprintf.c b/sys/lib/libsa/snprintf.c index 047c1e6a494..d3ed5986873 100644 --- a/sys/lib/libsa/snprintf.c +++ b/sys/lib/libsa/snprintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snprintf.c,v 1.6 2015/03/10 21:07:43 miod Exp $ */ +/* $OpenBSD: snprintf.c,v 1.7 2019/05/11 16:56:47 deraadt Exp $ */ /* $NetBSD: printf.c,v 1.10 1996/11/30 04:19:21 gwr Exp $ */ /*- @@ -40,7 +40,6 @@ extern void kprintn(void (*)(int), u_long, int); extern void kdoprnt(void (*)(int), const char *, va_list); -#ifndef STRIPPED static void sputchar(int); static char *sbuf, *sbuf_end; @@ -71,5 +70,3 @@ snprintf(char *buf, size_t len, const char *fmt, ...) return sbuf - buf; } - -#endif /* STRIPPED */ |