diff options
author | cui fliter <imcusg@gmail.com> | 2023-05-09 18:03:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 12:03:08 +0200 |
commit | 49aba759744c06fb3a6fa998155428520f161734 (patch) | |
tree | 5cad6acc4ff6adac01ec756a4c9baa89d45f5c0f /psutil/_pswindows.py | |
parent | 5c52826e7eac9648006392f5d491f6fdf6ff50a8 (diff) | |
download | psutil-master.tar.gz |
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'psutil/_pswindows.py')
-rw-r--r-- | psutil/_pswindows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_pswindows.py b/psutil/_pswindows.py index 4081aa17..38e26ebc 100644 --- a/psutil/_pswindows.py +++ b/psutil/_pswindows.py @@ -247,7 +247,7 @@ def swap_memory(): total_system = mem[2] # system memory (commit total/limit) is the sum of physical and swap - # thus physical memory values need to be substracted to get swap values + # thus physical memory values need to be subtracted to get swap values total = total_system - total_phys # commit total is incremented immediately (decrementing free_system) # while the corresponding free physical value is not decremented until |