mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
about-distro: calculateTotalRam() correction
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e27686a808
commit
1b56d60f45
1 changed files with 0 additions and 1 deletions
|
@ -46,7 +46,6 @@ static qlonglong calculateTotalRam()
|
||||||
#if defined(_SC_PHYS_PAGES) && defined(_SC_PAGESIZE)
|
#if defined(_SC_PHYS_PAGES) && defined(_SC_PAGESIZE)
|
||||||
ret = sysconf(_SC_PHYS_PAGES);
|
ret = sysconf(_SC_PHYS_PAGES);
|
||||||
ret *= sysconf(_SC_PAGESIZE);
|
ret *= sysconf(_SC_PAGESIZE);
|
||||||
ret /= 1.03;
|
|
||||||
#else
|
#else
|
||||||
# warning calculateTotalRam() not implemented
|
# warning calculateTotalRam() not implemented
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue