From 8b3e0196b7a5be00c99252c7e0a4b9542fdc017b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 13 Sep 2007 17:32:51 +0000 Subject: fix a bug that broke the activity ring --- (limited to 'shell') diff --git a/shell/view/home/proc_smaps.py b/shell/view/home/proc_smaps.py index 47a5fe5..6e1680f 100755 --- a/shell/view/home/proc_smaps.py +++ b/shell/view/home/proc_smaps.py @@ -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 -- cgit v0.9.1