diff options
| author | 1997-02-06 14:22:32 +0000 | |
|---|---|---|
| committer | 1997-02-06 14:22:32 +0000 | |
| commit | d28fd972bfbeb548ea21b34a9f8edde0e861f241 (patch) | |
| tree | 67c5aa2733cc4cfaacc6b50673b89815d9eaaaf6 /sys/lib/libsa/printf.c | |
| parent | make are of a whole number of missing system call names; interesting fix (diff) | |
| download | wireguard-openbsd-d28fd972bfbeb548ea21b34a9f8edde0e861f241.tar.xz wireguard-openbsd-d28fd972bfbeb548ea21b34a9f8edde0e861f241.zip | |
remove net/zlib.c (use -lz now)
export NO_NET and SA_ZLIB to the Makefile (from Makefile.inc)
add -p printf flag (tiny code) just for gcc -Wall
import latest alloc.c from netbsd
text data bss dec hex
400 8 0 408 198
Diffstat (limited to 'sys/lib/libsa/printf.c')
| -rw-r--r-- | sys/lib/libsa/printf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/lib/libsa/printf.c b/sys/lib/libsa/printf.c index b5f6317ef02..1bfc3b18621 100644 --- a/sys/lib/libsa/printf.c +++ b/sys/lib/libsa/printf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printf.c,v 1.6 1996/12/08 15:15:54 niklas Exp $ */ +/* $OpenBSD: printf.c,v 1.7 1997/02/06 14:22:33 mickey Exp $ */ /* $NetBSD: printf.c,v 1.10 1996/11/30 04:19:21 gwr Exp $ */ /*- @@ -205,6 +205,8 @@ reswitch: switch (ch = *fmt++) { va_arg(ap, u_long) : va_arg(ap, u_int); kprintn(put, ul, 10); break; + case 'p': + lflag++; case 'x': ul = lflag ? va_arg(ap, u_long) : va_arg(ap, u_int); |
