fix a bug that broke the activity ring

This commit is contained in:
Dan Winship 2007-09-13 13:32:51 -04:00
parent 791bb66087
commit 8b3e0196b7

View File

@ -94,7 +94,8 @@ def get_mappings(pid, ignored_shared_mappings):
shared_clean = int(lines[line_idx + 3][14:-3])
shared_dirty = int(lines[line_idx + 4][14:-3])
mapping = Mapping(name, private, shared)
mapping = Mapping(name, private_clean + private_dirty,
shared_clean + shared_dirty)
mappings.append (mapping)
return mappings