summaryrefslogtreecommitdiff
path: root/showmap
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-12-08 14:57:22 -0800
committerElliott Hughes <enh@google.com>2015-12-08 14:57:22 -0800
commit89d90219e51539667d9d9c88641099a19153b082 (patch)
tree3a2aab8cf9219764835651f099fba0bd35373ceb /showmap
parent88add2dbc12ee79b3cc22bc70a71f857fe46b2b3 (diff)
downloadextras-89d90219e51539667d9d9c88641099a19153b082.tar.gz
Fix showmap SIGSEGV.
Bug: http://b/26084907 Change-Id: I6ed8a26b93d90348d2bb806ccd7752a1a76144a6
Diffstat (limited to 'showmap')
-rw-r--r--showmap/showmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/showmap/showmap.c b/showmap/showmap.c
index 8cf94134..2d602161 100644
--- a/showmap/showmap.c
+++ b/showmap/showmap.c
@@ -312,7 +312,7 @@ out:
printf("%8d %8d %8d %8d %8d %8d %8d %8d", size,
rss, pss,
shared_clean, shared_dirty,
- private_clean, private_dirty, mi->swap);
+ private_clean, private_dirty, swap);
if (!verbose && !addresses) {
printf("%4d ", count);
}