summaryrefslogtreecommitdiff
path: root/xpcom/base/nsMemoryReporterManager.cpp
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2019-10-04 04:37:51 -0500
committerathenian200 <athenian200@outlook.com>2019-10-21 04:53:43 -0500
commit575f51a27d6b3627ae5675cc8e920c8dcae073bd (patch)
tree30a30c687b2d45a0c866e2d16e4974b67ffd4f61 /xpcom/base/nsMemoryReporterManager.cpp
parentdb34ef993c3b0a25619ec56d98303933b61169bc (diff)
downloaduxp-575f51a27d6b3627ae5675cc8e920c8dcae073bd.tar.gz
Fix a bunch of dumb typos and omissions.
Diffstat (limited to 'xpcom/base/nsMemoryReporterManager.cpp')
-rw-r--r--xpcom/base/nsMemoryReporterManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpcom/base/nsMemoryReporterManager.cpp b/xpcom/base/nsMemoryReporterManager.cpp
index 9c2d620cc2..dcbad171e3 100644
--- a/xpcom/base/nsMemoryReporterManager.cpp
+++ b/xpcom/base/nsMemoryReporterManager.cpp
@@ -1151,7 +1151,7 @@ ResidentPeakDistinguishedAmount(int64_t* aN)
#ifdef XP_MACOSX
*aN = usage.ru_maxrss;
#elif defined(XP_SOLARIS)
- *aN = usage.ru.maxrss * getpagesize();
+ *aN = usage.ru_maxrss * getpagesize();
#else
*aN = usage.ru_maxrss * 1024;
#endif