Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/pmap fix format string



details:   https://anonhg.NetBSD.org/src/rev/e05f5c83e3ed
branches:  trunk
changeset: 782351:e05f5c83e3ed
user:      para <para%NetBSD.org@localhost>
date:      Mon Oct 29 16:25:25 2012 +0000

description:
fix format string

diffstat:

 usr.bin/pmap/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e5d833bfa3b5 -r e05f5c83e3ed usr.bin/pmap/pmap.c
--- a/usr.bin/pmap/pmap.c       Mon Oct 29 16:00:05 2012 +0000
+++ b/usr.bin/pmap/pmap.c       Mon Oct 29 16:25:25 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.50 2012/10/29 16:00:05 para Exp $ */
+/*     $NetBSD: pmap.c,v 1.51 2012/10/29 16:25:25 para Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: pmap.c,v 1.50 2012/10/29 16:00:05 para Exp $");
+__RCSID("$NetBSD: pmap.c,v 1.51 2012/10/29 16:25:25 para Exp $");
 #endif
 
 #include <string.h>
@@ -301,7 +301,7 @@
                printf("%*s    aref = { ar_pageoff = %x, ar_amap = %p },",
                       indent(2), "", vme->aref.ar_pageoff, vme->aref.ar_amap);
                printf(" advice = %d,\n", vme->advice);
-               printf("%*s    flags = %x <%s%s%s%s > }\n", indent(2), "",
+               printf("%*s    flags = %x <%s%s%s > }\n", indent(2), "",
                       vme->flags,
                       vme->flags & UVM_MAP_KERNEL ? " KERNEL" : "",
                       vme->flags & UVM_MAP_STATIC ? " STATIC" : "",



Home | Main Index | Thread Index | Old Index