diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-07-31 11:51:30 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-07-31 11:51:30 +0000 |
commit | 1fa98845753501fc95cd9399bb272104a53b2a19 (patch) | |
tree | 0570378f48429292459c23733d2d8bd06549409a /sys/uvm/uvm_km.c | |
parent | 42f0834b513e1d42c34cc24bc11fb541b03ad10a (diff) |
fix uvmhist #2: args are always u_long so fix missing %d and %x and no %ll; no change for normal code
Diffstat (limited to 'sys/uvm/uvm_km.c')
-rw-r--r-- | sys/uvm/uvm_km.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c index 5a717831a92..ea15e5ee8fa 100644 --- a/sys/uvm/uvm_km.c +++ b/sys/uvm/uvm_km.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.c,v 1.51 2006/07/26 23:15:55 mickey Exp $ */ +/* $OpenBSD: uvm_km.c,v 1.52 2006/07/31 11:51:29 mickey Exp $ */ /* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */ /* @@ -332,7 +332,7 @@ uvm_km_pgremove(uobj, start, end) if (pp == NULL) continue; - UVMHIST_LOG(maphist," page %p, busy=%d", pp, + UVMHIST_LOG(maphist," page %p, busy=%ld", pp, pp->flags & PG_BUSY, 0, 0); /* now do the actual work */ @@ -363,7 +363,7 @@ loop_by_list: continue; } - UVMHIST_LOG(maphist," page %p, busy=%d", pp, + UVMHIST_LOG(maphist," page %p, busy=%ld", pp, pp->flags & PG_BUSY, 0, 0); if (pp->flags & PG_BUSY) { @@ -425,7 +425,7 @@ uvm_km_pgremove_intrsafe(uobj, start, end) continue; } - UVMHIST_LOG(maphist," page %p, busy=%d", pp, + UVMHIST_LOG(maphist," page %p, busy=%ld", pp, pp->flags & PG_BUSY, 0, 0); KASSERT((pp->flags & PG_BUSY) == 0); KASSERT((pp->pqflags & PQ_ACTIVE) == 0); @@ -443,7 +443,7 @@ loop_by_list: continue; } - UVMHIST_LOG(maphist," page %p, busy=%d", pp, + UVMHIST_LOG(maphist," page %p, busy=%ld", pp, pp->flags & PG_BUSY, 0, 0); KASSERT((pp->flags & PG_BUSY) == 0); KASSERT((pp->pqflags & PQ_ACTIVE) == 0); |