From 23900cbf01a240f143eec0d31ef7ed65e75f4a73 Mon Sep 17 00:00:00 2001
From: Isaac Connor <isaac@zoneminder.com>
Date: Thu, 21 May 2020 13:34:09 -0400
Subject: [PATCH] fix

---
 web/skins/classic/includes/functions.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/skins/classic/includes/functions.php b/web/skins/classic/includes/functions.php
index f329f2e40..3d60fde3e 100644
--- a/web/skins/classic/includes/functions.php
+++ b/web/skins/classic/includes/functions.php
@@ -424,7 +424,7 @@ if ( (!ZM_OPT_USE_AUTH) or $user ) {
     echo implode(', ', array_map($func, $storage_areas));
   $shm_percent = getDiskPercent(ZM_PATH_MAP);
   $shm_total_space = disk_total_space(ZM_PATH_MAP);
-  $shm_used = $dhm_total_space - $disk_free_space(ZM_PATH_MAP);
+  $shm_used = $shm_total_space - disk_free_space(ZM_PATH_MAP);
 
   $class = '';
   if ( $shm_percent > 98 ) {