diff options
author | 2006-04-27 15:23:56 +0000 | |
---|---|---|
committer | 2006-04-27 15:23:56 +0000 | |
commit | 330b07098153d671ad2572962359e556b312f0ed (patch) | |
tree | 30c02861fc7dbd017b7397d3d7f2cfe21eefafed | |
parent | from PAE work: (diff) | |
download | wireguard-openbsd-330b07098153d671ad2572962359e556b312f0ed.tar.xz wireguard-openbsd-330b07098153d671ad2572962359e556b312f0ed.zip |
from PAE work:
as paddr_t could be a long long (soon) always cast and print as llx.
-rw-r--r-- | sys/uvm/uvm_map.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index bb52ff789ff..4300f197304 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.77 2006/01/16 13:11:05 mickey Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.78 2006/04/27 15:23:56 mickey Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -3790,8 +3790,9 @@ uvm_page_printit(pg, full, pr) (*pr)("PAGE %p:\n", pg); snprintf(pgbuf, sizeof(pgbuf), "%b", pg->flags, page_flagbits); snprintf(pqbuf, sizeof(pqbuf), "%b", pg->pqflags, page_pqflagbits); - (*pr)(" flags=%s, pqflags=%s, vers=%d, wire_count=%d, pa=0x%lx\n", - pgbuf, pqbuf, pg->version, pg->wire_count, (long)pg->phys_addr); + (*pr)(" flags=%s, pqflags=%s, vers=%d, wire_count=%d, pa=0x%llx\n", + pgbuf, pqbuf, pg->version, pg->wire_count, + (long long)pg->phys_addr); (*pr)(" uobject=%p, uanon=%p, offset=0x%llx loan_count=%d\n", pg->uobject, pg->uanon, (long long)pg->offset, pg->loan_count); #if defined(UVM_PAGE_TRKOWN) |