diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-02-06 14:22:34 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-02-06 14:22:34 +0000 |
commit | 2e7326637e61f011d39058f6e99e26c9008c4a53 (patch) | |
tree | e883e132e6926368e126b398f76957b6839a66a3 /sys/lib/libsa/printf.c | |
parent | f5deb2d68c8ffb793e3e05b713b05e865f88476f (diff) |
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); |