mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
909f4ceccd
* Fix plist PR: 59389 Submitted by: maintainer Obtained from: Franz Klammer <klammer@webonaut.com> [1]
16 lines
543 B
Python
16 lines
543 B
Python
# Many thanks to Alexander Leidinger <netchild@FreeBSD.org> and
|
|
# Franz Klammer <klammer@webonaut.com> for help and create
|
|
# those patches.
|
|
|
|
--- libdesklets/Memory.py.orig Sun Nov 16 17:02:45 2003
|
|
+++ libdesklets/Memory.py Sun Nov 16 17:03:19 2003
|
|
@@ -49,7 +49,7 @@
|
|
|
|
# Swap
|
|
elif (mode == 1):
|
|
- total, used, free = glibtop.get_mem()[:3]
|
|
+ total, used, free = glibtop.get_swap()[:3]
|
|
#for l in lines:
|
|
# if (l.startswith("SwapTotal:")):
|
|
# value = l.split()
|