Module Name: src Committed By: para Date: Mon Oct 29 16:25:27 UTC 2012
Modified Files: src/usr.bin/pmap: pmap.c Log Message: fix format string To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/usr.bin/pmap/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/pmap/pmap.c diff -u src/usr.bin/pmap/pmap.c:1.50 src/usr.bin/pmap/pmap.c:1.51 --- src/usr.bin/pmap/pmap.c:1.50 Mon Oct 29 16:00:05 2012 +++ src/usr.bin/pmap/pmap.c Mon Oct 29 16:25:25 2012 @@ -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 @@ dump_vm_map_entry(kvm_t *kd, struct kinf 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" : "",