diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 1999-02-07 21:48:23 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-02-07 21:48:23 +0000 |
| commit | 9fdfe602fc5fe4a9fbbff8589022a8bc068aeeab (patch) | |
| tree | 1a44d1882fc71164d44d808fc934c1cee288853e /sys/vm/vm_object.c | |
| parent | a0e7b3e5ce717febe40770b7c6422ea82a9a55f7 (diff) | |
Notes
Diffstat (limited to 'sys/vm/vm_object.c')
| -rw-r--r-- | sys/vm/vm_object.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 9f6b3c663a31..46f7004cb98f 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.c,v 1.144 1999/02/04 17:47:52 dillon Exp $ + * $Id: vm_object.c,v 1.145 1999/02/07 08:44:53 dillon Exp $ */ /* @@ -1569,8 +1569,8 @@ _vm_object_in_map(map, object, entry) } tmpe = tmpe->next; } - } else if (entry->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) { - tmpm = entry->object.share_map; + } else if (entry->eflags & MAP_ENTRY_IS_SUB_MAP) { + tmpm = entry->object.sub_map; tmpe = tmpm->header.next; entcount = tmpm->nentries; while (entcount-- && tmpe != &tmpm->header) { |
