summaryrefslogtreecommitdiffstats
path: root/usr.sbin/procmap
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-08 10:15:16 +0000
committerderaadt <deraadt@openbsd.org>2014-07-08 10:15:16 +0000
commitd543b6455090962b5f154f6802d3d535d3f3a636 (patch)
tree5d2ca250768ff84f136db0455ddd7bdb5a1d1052 /usr.sbin/procmap
parentMore KNF. (diff)
downloadwireguard-openbsd-d543b6455090962b5f154f6802d3d535d3f3a636.tar.xz
wireguard-openbsd-d543b6455090962b5f154f6802d3d535d3f3a636.zip
There really isn't a strict "heap" anymore, so just call everything like
that an anon. Useful change since BRKSIZ will soon leave the namespace. ok kettenis
Diffstat (limited to 'usr.sbin/procmap')
-rw-r--r--usr.sbin/procmap/procmap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c
index c1447915485..0943206c6e1 100644
--- a/usr.sbin/procmap/procmap.c
+++ b/usr.sbin/procmap/procmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procmap.c,v 1.53 2014/05/20 01:25:24 guenther Exp $ */
+/* $OpenBSD: procmap.c,v 1.54 2014/07/08 10:15:16 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */
/*
@@ -866,9 +866,6 @@ findname(kvm_t *kd, struct kbit *vmspace,
(D(vmspace, vmspace)->vm_maxsaddr + (size_t)maxssiz) >=
(caddr_t)vme->end) {
name = " [ stack ]";
- } else if (D(vmspace, vmspace)->vm_daddr <= (caddr_t)vme->start &&
- D(vmspace, vmspace)->vm_daddr + BRKSIZ >= (caddr_t)vme->end) {
- name = " [ heap ]";
} else if (UVM_ET_ISHOLE(vme))
name = " [ hole ]";
else