Fixed a typo spotted by dru345 on #haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37774 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1692,7 +1692,7 @@ MemSizeToString(char string[], size_t size, system_info* info)
|
|||||||
* (B_PAGE_SIZE / 1048576.0f) + 0.5f);
|
* (B_PAGE_SIZE / 1048576.0f) + 0.5f);
|
||||||
if (inaccessibleMemory > 0) {
|
if (inaccessibleMemory > 0) {
|
||||||
BString message(B_TRANSLATE("%total MiB total, %inaccessible MiB "
|
BString message(B_TRANSLATE("%total MiB total, %inaccessible MiB "
|
||||||
"inacessible"));
|
"inaccessible"));
|
||||||
|
|
||||||
snprintf(string, size, "%d", int((info->max_pages
|
snprintf(string, size, "%d", int((info->max_pages
|
||||||
+ info->ignored_pages) * (B_PAGE_SIZE / 1048576.0f) + 0.5f));
|
+ info->ignored_pages) * (B_PAGE_SIZE / 1048576.0f) + 0.5f));
|
||||||
|
|||||||
Reference in New Issue
Block a user