diff options
author | bde <bde@FreeBSD.org> | 1998-07-11 07:46:16 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-11 07:46:16 +0000 |
commit | f0b863f4b5c8604ff238621b7fcd6becea496675 (patch) | |
tree | 204ad88277d5159445cec0b7fbc88090454d53eb /sys/vm/vm_page.c | |
parent | 065e3edb4989d6adb56bfc42cab8726f680cef5b (diff) | |
download | FreeBSD-src-f0b863f4b5c8604ff238621b7fcd6becea496675.zip FreeBSD-src-f0b863f4b5c8604ff238621b7fcd6becea496675.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r-- | sys/vm/vm_page.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index ae412e0..bedfaf9 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $Id: vm_page.c,v 1.101 1998/06/07 17:13:13 dfr Exp $ + * $Id: vm_page.c,v 1.102 1998/06/21 18:02:48 bde Exp $ */ /* @@ -1072,9 +1072,10 @@ vm_page_freechk_and_unqueue(m) #if !defined(MAX_PERF) if (m->busy || ((m->queue - m->pc) == PQ_FREE) || (m->hold_count != 0)) { - printf("vm_page_free: pindex(%ld), busy(%d), PG_BUSY(%d), hold(%d)\n", - m->pindex, m->busy, - (m->flags & PG_BUSY) ? 1 : 0, m->hold_count); + printf( + "vm_page_free: pindex(%lu), busy(%d), PG_BUSY(%d), hold(%d)\n", + (u_long)m->pindex, m->busy, (m->flags & PG_BUSY) ? 1 : 0, + m->hold_count); if ((m->queue - m->pc) == PQ_FREE) panic("vm_page_free: freeing free page"); else |