diff options
| author | John Dyson <dyson@FreeBSD.org> | 1997-01-16 04:16:22 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1997-01-16 04:16:22 +0000 |
| commit | afa07f7e8316d8c7ccf278b6511c770e381a71b7 (patch) | |
| tree | 0ad89c8435b3bd8b781b683d36913c0b84a63ac8 /sys/miscfs/procfs/procfs_map.c | |
| parent | be33883762816094605a35ea9027b0b0d2edc676 (diff) | |
Notes
Diffstat (limited to 'sys/miscfs/procfs/procfs_map.c')
| -rw-r--r-- | sys/miscfs/procfs/procfs_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_map.c b/sys/miscfs/procfs/procfs_map.c index b871a5dee366..27c44fab8693 100644 --- a/sys/miscfs/procfs/procfs_map.c +++ b/sys/miscfs/procfs/procfs_map.c @@ -113,7 +113,7 @@ procfs_domap(curp, p, pfs, uio) int resident, privateresident; char *type; - if (entry->is_a_map || entry->is_sub_map) + if (entry->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) continue; obj = entry->object.vm_object; @@ -163,7 +163,7 @@ case OBJT_DEVICE: (entry->protection & VM_PROT_READ)?"r":"-", (entry->protection & VM_PROT_WRITE)?"w":"-", (entry->protection & VM_PROT_EXECUTE)?"x":"-", - entry->copy_on_write?"COW":" ", + (entry->eflags & MAP_ENTRY_COW)?"COW":" ", type); len = strlen(mebuffer); |
