Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Winship <dwinship@redhat.com>2007-09-13 17:32:51 (GMT)
committer Dan Winship <dwinship@redhat.com>2007-09-13 17:32:51 (GMT)
commit8b3e0196b7a5be00c99252c7e0a4b9542fdc017b (patch)
tree62cc943de4190b9deea0cea15e86de2bd71d0ffd /shell
parent791bb66087e3667e1afbb5cd32e28e1afd98481f (diff)
fix a bug that broke the activity ring
Diffstat (limited to 'shell')
-rwxr-xr-xshell/view/home/proc_smaps.py3
1 files changed, 2 insertions, 1 deletions
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