summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-11 05:26:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-11 05:26:17 +0000
commitd61245b77adf04a2a9bfcf74bae9ad780d1045da (patch)
tree1139ad7257b61c4fa2523bf9e1199dc887f0d6c7 /sys/miscfs/procfs
parent2cf14d3e5293a5d7893d2a5c0d3b3a827c467c51 (diff)
Fix {KERNFS,NULLFS,UMAPFS,UNION}_DIAGNOSTIC kernel compilation errors.
From Alan Barrett <apb@iafrica.com> with some changes.
Diffstat (limited to 'sys/miscfs/procfs')
-rw-r--r--sys/miscfs/procfs/procfs_mem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/procfs/procfs_mem.c b/sys/miscfs/procfs/procfs_mem.c
index 5d069511fe2..733c8e02753 100644
--- a/sys/miscfs/procfs/procfs_mem.c
+++ b/sys/miscfs/procfs/procfs_mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procfs_mem.c,v 1.6 1997/08/29 04:24:38 millert Exp $ */
+/* $OpenBSD: procfs_mem.c,v 1.7 1997/09/11 05:26:14 millert Exp $ */
/* $NetBSD: procfs_mem.c,v 1.8 1996/02/09 22:40:50 christos Exp $ */
/*
@@ -315,7 +315,7 @@ procfs_findtextvp(p)
printf("procfs: found vm object\n");
vm_map_lookup_done(map, out_entry);
- printf("procfs: vm object = %x\n", object);
+ printf("procfs: vm object = %p\n", object);
/*
* At this point, assuming no errors, object
@@ -325,7 +325,7 @@ procfs_findtextvp(p)
*/
pager = object->pager;
- printf("procfs: pager = %x\n", pager);
+ printf("procfs: pager = %p\n", pager);
if (pager)
printf("procfs: found pager, type = %d\n",
pager->pg_type);
@@ -333,7 +333,7 @@ procfs_findtextvp(p)
struct vnode *vp;
vp = (struct vnode *) pager->pg_handle;
- printf("procfs: vp = 0x%x\n", vp);
+ printf("procfs: vp = %p\n", vp);
return (vp);
}
}