Applied patch from Jeremy Lea; this patch is also included in the

1999-02-21  Martin Baulig  <martin@home-of-linux.org>

	* procmap.c, procmem.c: Applied patch from Jeremy Lea; this
	patch is also included in the FreeBSD-current ports collection.
This commit is contained in:
Martin Baulig
1999-02-21 14:11:07 +00:00
committed by Martin Baulig
parent 9ba9f4fa8f
commit 3ad9e06909
3 changed files with 5 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ glibtop_get_proc_map_p (glibtop *server, glibtop_proc_map *buf,
}
#ifdef __FreeBSD__
if (entry.eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP))
if (entry.eflags & MAP_ENTRY_IS_SUB_MAP)
continue;
#else
if (entry.is_a_map || entry.is_sub_map)