Module Name: src
Committed By: skrll
Date: Sun Apr 19 08:59:53 UTC 2020
Modified Files:
src/sys/uvm: uvm_map.c
Log Message:
Fix UVMHIST_LOG compile on 32bit platforms
To generate a diff of this commit:
cvs rdiff -u -r1.380 -r1.381 src/sys/uvm/uvm_map.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_map.c
diff -u src/sys/uvm/uvm_map.c:1.380 src/sys/uvm/uvm_map.c:1.381
--- src/sys/uvm/uvm_map.c:1.380 Sat Apr 18 17:22:26 2020
+++ src/sys/uvm/uvm_map.c Sun Apr 19 08:59:53 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_map.c,v 1.380 2020/04/18 17:22:26 riastradh Exp $ */
+/* $NetBSD: uvm_map.c,v 1.381 2020/04/19 08:59:53 skrll Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.380 2020/04/18 17:22:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.381 2020/04/19 08:59:53 skrll Exp $");
#include "opt_ddb.h"
#include "opt_pax.h"
@@ -4960,7 +4960,7 @@ uvm_voaddr_acquire(struct vm_map * const
if (result) {
UVMHIST_LOG(maphist,
"<- done OK (type=%jd,owner=#%jx,offset=%jx)",
- voaddr->type, voaddr->uobj, voaddr->offset, 0);
+ voaddr->type, (uintptr_t)voaddr->uobj, voaddr->offset, 0);
} else {
UVMHIST_LOG(maphist,"<- done (failed)",0,0,0,0);
}