diff options
author | Simon Rettberg | 2019-01-28 14:38:47 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-01-28 14:38:47 +0100 |
commit | 1b53e1ac441f547e4524a512eff3d6b25457f95e (patch) | |
tree | cdb0cd3a050ece5444690d957f6538063118e3dd | |
parent | [statistics] Cleanup template (diff) | |
download | slx-admin-1b53e1ac441f547e4524a512eff3d6b25457f95e.tar.gz slx-admin-1b53e1ac441f547e4524a512eff3d6b25457f95e.tar.xz slx-admin-1b53e1ac441f547e4524a512eff3d6b25457f95e.zip |
[statistics] Fix copypasta
-rw-r--r-- | modules-available/statistics/api.inc.php | 2 | ||||
-rw-r--r-- | modules-available/statistics/hooks/cron.inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/statistics/api.inc.php b/modules-available/statistics/api.inc.php index 57c4cee2..280e5abc 100644 --- a/modules-available/statistics/api.inc.php +++ b/modules-available/statistics/api.inc.php @@ -157,7 +157,7 @@ if ($type{0} === '~') { writeClientLog('machine-mismatch-poweron', 'Poweron event, but previous known state is ' . $old['state'] . '. RAM: ' . Util::readableFileSize($old['live_memfree'], -1, 2) . ', Swap: ' . Util::readableFileSize($old['live_swapfree'], -1, 2) - . ', ID44: ' . Util::readableFileSize($old['live_memfree'], -1, 2)); + . ', ID44: ' . Util::readableFileSize($old['live_tmpfree'], -1, 2)); } } diff --git a/modules-available/statistics/hooks/cron.inc.php b/modules-available/statistics/hooks/cron.inc.php index f22d0475..6393b2c6 100644 --- a/modules-available/statistics/hooks/cron.inc.php +++ b/modules-available/statistics/hooks/cron.inc.php @@ -34,7 +34,7 @@ function state_cleanup() 'description' => 'Client timed out, last known state is ' . $row['state'] . '. RAM: ' . Util::readableFileSize($row['live_memfree'], -1, 2) . ', Swap: ' . Util::readableFileSize($row['live_swapfree'], -1, 2) - . ', ID44: ' . Util::readableFileSize($row['live_memfree'], -1, 2), + . ', ID44: ' . Util::readableFileSize($row['live_tmpfree'], -1, 2), 'longdesc' => '', 'uuid' => $row['machineuuid'], )); |