Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change the about gui to use "hw.physmem" instead of "hw.realmem" for …

…the memory size output. This should fix the problem of reporting more memory than the system actually has.
  • Loading branch information...
commit 7ba4ea7056c79f3b829a18fc913983b53a8ab580 1 parent 5bd70b2
@beanpole135 beanpole135 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src-qt4/about-gui/mainwindow.cpp
View
2  src-qt4/about-gui/mainwindow.cpp
@@ -108,7 +108,7 @@ MainWindow::MainWindow(QWidget *parent) :
ui->CPUInfoLabel->setText(pcbsd::Utils::sysctl("hw.model"));
// memory
- ui->MemoryLabel->setText(pcbsd::Utils::bytesToHumanReadable(pcbsd::Utils::sysctlAsInt("hw.realmem")));
+ ui->MemoryLabel->setText(pcbsd::Utils::bytesToHumanReadable(pcbsd::Utils::sysctlAsInt("hw.physmem")));
//this->setFixedSize(this->geometry().width(),this->geometry().height());
}
Please sign in to comment.
Something went wrong with that request. Please try again.