diff options
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); |