summaryrefslogtreecommitdiff
path: root/sys/lib/libsa
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1999-04-20 23:04:17 +0000
committercgd <cgd@NetBSD.org>1999-04-20 23:04:17 +0000
commit227295dad5cea8ed88aa3764933dbb7bdc426ee5 (patch)
treeabec6836e49cd300f5026026e896b00d16968b71 /sys/lib/libsa
parentcc3feba3f56d11ee8846b6adac0830c80caac7c0 (diff)
set lflag when printing pointers with %p
Diffstat (limited to 'sys/lib/libsa')
-rw-r--r--sys/lib/libsa/subr_prf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/lib/libsa/subr_prf.c b/sys/lib/libsa/subr_prf.c
index 799845cfb2d..079d49c471b 100644
--- a/sys/lib/libsa/subr_prf.c
+++ b/sys/lib/libsa/subr_prf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_prf.c,v 1.1 1999/02/13 20:56:58 pk Exp $ */
+/* $NetBSD: subr_prf.c,v 1.2 1999/04/20 23:04:17 cgd Exp $ */
/*-
* Copyright (c) 1993
@@ -176,6 +176,7 @@ reswitch: switch (ch = *fmt++) {
case 'p':
put('0');
put('x');
+ lflag = 1;
/* fall through */
case 'x':
ul = lflag ?