Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libsa set lflag when printing pointers with %p



details:   https://anonhg.NetBSD.org/src/rev/59771b7cfd32
branches:  trunk
changeset: 472098:59771b7cfd32
user:      cgd <cgd%NetBSD.org@localhost>
date:      Tue Apr 20 23:04:17 1999 +0000

description:
set lflag when printing pointers with %p

diffstat:

 sys/lib/libsa/subr_prf.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 61438100d1e7 -r 59771b7cfd32 sys/lib/libsa/subr_prf.c
--- a/sys/lib/libsa/subr_prf.c  Tue Apr 20 22:07:37 1999 +0000
+++ b/sys/lib/libsa/subr_prf.c  Tue Apr 20 23:04:17 1999 +0000
@@ -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 @@
                case 'p':
                        put('0');
                        put('x');
+                       lflag = 1;
                        /* fall through */
                case 'x':
                        ul = lflag ?



Home | Main Index | Thread Index | Old Index