summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/procfs
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-09-11 05:26:10 +0000
committermillert <millert@openbsd.org>1997-09-11 05:26:10 +0000
commitf36b36f8e26e9551c1f7ed1e750b5e6ee4e30b77 (patch)
tree2090e3b5e8db00c4c940c30d01cb287f3c24f0ae /sys/miscfs/procfs
parentlet's at least list all scsi devices, ok? (diff)
downloadwireguard-openbsd-f36b36f8e26e9551c1f7ed1e750b5e6ee4e30b77.tar.xz
wireguard-openbsd-f36b36f8e26e9551c1f7ed1e750b5e6ee4e30b77.zip
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);
}
}